diff options
Diffstat (limited to 'lua/aotrix')
| -rw-r--r-- | lua/aotrix/plugins/lsp.lua | 5 | ||||
| -rw-r--r-- | lua/aotrix/plugins/telescope.lua | 10 | ||||
| -rw-r--r-- | lua/aotrix/set.lua | 1 |
3 files changed, 10 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') diff --git a/lua/aotrix/set.lua b/lua/aotrix/set.lua index 7c98336..54129bd 100644 --- a/lua/aotrix/set.lua +++ b/lua/aotrix/set.lua @@ -35,3 +35,4 @@ vim.opt.isfname:append("@-@") vim.opt.updatetime = 50 vim.opt.cursorline = false +vim.opt.showmode = false |
