all repos

init.lua @ bc19f75

my nvim config
3 files changed, 18 insertions(+), 1 deletions(-)
update lsp server config for rust, go && update telecope theme for buffer switcher
Author: neoteny ss2316544@gmail.com
Committed at: 2022-01-16 18:58:08 +0200
Parent: 2784223
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" },