3 files changed,
18 insertions(+),
1 deletions(-)
M
lua/lsp/providers/gopls.lua
@@ -7,6 +7,7 @@ unreachable = true,
}, staticcheck = true, memoryMode = "DegradeClosed", + experimentalPostfixCompletions = true, }, }, }
A
lua/lsp/providers/rust_analyzer.lua
@@ -0,0 +1,16 @@
+return { + settings = { + ["rust-analyzer"] = { + cargo = { loadOutDirsFromCheck = true }, + procMacro = { enable = true }, + completion = { + autoimport = { enable = true }, + autoself = { enable = true }, + }, + assist = { + importGranularity = "module", + importPrefix = "by_self", + }, + }, + }, +}
M
lua/plugin/telescope.lua
@@ -46,7 +46,7 @@ },
pickers = { find_files = { theme = "ivy" }, live_grep = { theme = "ivy", only_sort_text = true }, - buffers = { theme = "ivy", previewer = false }, + buffers = { theme = "dropdown", winblend = 10 }, oldfiles = { theme = "ivy" }, keymaps = { theme = "ivy" }, git_branches = { theme = "ivy" },