diff options
| author | Aotrix <[email protected]> | 2026-04-22 19:37:05 +0200 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2026-04-22 19:37:05 +0200 |
| commit | 2e3f7f00e1c9dbf49d42a4fa56108526061024f7 (patch) | |
| tree | 93b15cba87a5150309b217efea3a0d5a88880453 /lua/aotrix/plugins | |
| parent | b21bab39fa105f36b1b6573bc8d302ec32fa6556 (diff) | |
Display hidden files in Telescope
Diffstat (limited to 'lua/aotrix/plugins')
| -rw-r--r-- | lua/aotrix/plugins/lsp.lua | 5 | ||||
| -rw-r--r-- | lua/aotrix/plugins/telescope.lua | 10 |
2 files changed, 9 insertions, 6 deletions
diff --git a/lua/aotrix/plugins/lsp.lua b/lua/aotrix/plugins/lsp.lua index 0a05fb9..d2dc570 100644 --- a/lua/aotrix/plugins/lsp.lua +++ b/lua/aotrix/plugins/lsp.lua @@ -42,7 +42,10 @@ return { vim.lsp.config["neocmake"] = {} vim.lsp.config["lua_ls"] = { - settings = {completion = {callSnippet = 'Replace'}} + settings = { + completion = {callSnippet = 'Replace'}, + Lua = {diagnostics = {globals = {"vim"}}} + } } vim.lsp.enable("clangd") diff --git a/lua/aotrix/plugins/telescope.lua b/lua/aotrix/plugins/telescope.lua index efd320b..3772cbb 100644 --- a/lua/aotrix/plugins/telescope.lua +++ b/lua/aotrix/plugins/telescope.lua @@ -33,12 +33,12 @@ return { preview_width = 0.8 } }, - sorting_strategy = "ascending" + sorting_strategy = "ascending", + scroll_strategy = "limit", + file_ignore_patterns = {".git/[^h]"} }, - extensions = { - fzf = {}, - ['ui-select'] = {require('telescope.themes').get_dropdown()} - } + pickers = {find_files = {hidden = true}}, + extensions = {fzf = {}} }) pcall(require('telescope').load_extension, 'fzf') |
