diff --git a/nvim/lua/.luarc.json b/nvim/lua/.luarc.json new file mode 100644 index 0000000..23b9ee2 --- /dev/null +++ b/nvim/lua/.luarc.json @@ -0,0 +1,3 @@ +{ + "workspace.checkThirdParty": false +} \ No newline at end of file diff --git a/nvim/lua/null-ls-config.lua b/nvim/lua/null-ls-config.lua index 79b06ca..f4d75bf 100644 --- a/nvim/lua/null-ls-config.lua +++ b/nvim/lua/null-ls-config.lua @@ -5,7 +5,6 @@ null_ls.setup({ -- FORMATTING null_ls.builtins.formatting.stylua, null_ls.builtins.formatting.eslint, - null_ls.builtins.formatting.prettierd, -- DIAGNOSTICS null_ls.builtins.diagnostics.eslint, -- COMPLETIONS diff --git a/nvim/lua/telescopeconfig.lua b/nvim/lua/telescopeconfig.lua index 74f594b..1edda75 100644 --- a/nvim/lua/telescopeconfig.lua +++ b/nvim/lua/telescopeconfig.lua @@ -1,8 +1,30 @@ -- TELESCOPE +require("telescope").setup { + defaults = { + -- .... + }, + pickers = { + find_files = { + find_command = { "fd", + "--type", "f", + "--strip-cwd-prefix", + -- "--exclude", "node_modules", + "--exclude", ".git", + } + }, + } +} + +-- FUNCTIONS +local function find() + require("telescope.builtin").find_files { + hidden = true + } +end -- KEYMAPS vim.keymap.set('n', '', 'Telescope buffers') -vim.keymap.set('n', 'f', 'Telescope find_files') +vim.keymap.set('n', 'f', find) vim.keymap.set('n', 'l', 'Telescope live_grep') vim.keymap.set('n', ' gy', 'Telescope treesitter')