summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-04-22 19:37:05 +0200
committerAotrix <[email protected]>2026-04-22 19:37:05 +0200
commit2e3f7f00e1c9dbf49d42a4fa56108526061024f7 (patch)
tree93b15cba87a5150309b217efea3a0d5a88880453
parentb21bab39fa105f36b1b6573bc8d302ec32fa6556 (diff)
Display hidden files in Telescope
-rw-r--r--lua/aotrix/plugins/lsp.lua5
-rw-r--r--lua/aotrix/plugins/telescope.lua10
-rw-r--r--lua/aotrix/set.lua1
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