2 Commits

Author SHA1 Message Date
209f4d3ddd feat(telescope): follow symlinks
All checks were successful
check-flake / build (push) Successful in 3m39s
2024-05-27 12:03:40 +03:00
73b5a72f6f feat: update how symlinks are created
All checks were successful
check-flake / build (push) Successful in 3m8s
2024-05-11 21:32:23 +03:00
6 changed files with 33 additions and 5 deletions

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazygit-config.yml
/tmp/lazyvim-lazygit/config.yml

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazygit-state.yml
/tmp/lazyvim-lazygit/state.yml

View File

@@ -1 +1,8 @@
-- Configure symlinks needed by LazyVim
vim.fn.system({ "mkdir", "-p", os.getenv("HOME") .. "/.config/lazyvim/nvim" })
vim.fn.system({ "mkdir", "-p", os.getenv("HOME") .. "/.config/lazyvim/lazygit" })
vim.fn.system({ "ln", "-sfT", os.getenv("HOME") .. "/.config/lazyvim/nvim", "/tmp/lazyvim-nvim" })
vim.fn.system({ "ln", "-sfT", os.getenv("HOME") .. "/.config/lazyvim/lazygit", "/tmp/lazyvim-lazygit" })
-- Load lazyvim
require("config.lazy")

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazy-lock.json
/tmp/lazyvim-nvim/lazy-lock.json

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazyvim.json
/tmp/lazyvim-nvim/lazyvim.json

View File

@@ -1,5 +1,5 @@
return {
"telescope.nvim",
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
@@ -7,4 +7,25 @@ return {
require("telescope").load_extension("fzf")
end,
},
opts = {
defaults = {
file_ignore_patterns = {
".git/",
"^node_modules/",
".cache",
},
},
pickers = {
live_grep = {
additional_args = { "-L" },
},
grep_string = {
additional_args = { "-L" },
},
find_files = {
hidden = true,
follow = true,
},
},
},
}