all repos

init.lua @ 4befa546e158c9e92353376e400115d528560276

my nvim config
1 files changed, 1 insertions(+), 3 deletions(-)
feat(lsp): don't bind omni
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2023-06-10 01:32:28 +0300
Parent: 20b3873
M lua/plugins/lsp/attach.lua

@@ -7,10 +7,8 @@ })

end return { - common = function(client, bufnr) - vim.api.nvim_buf_set_option(bufnr, "omnifunc", "v:lua.vim.lsp.omnifunc") + common = function(client, _) client.server_capabilities.documentFormattingProvider = false - if client.name == "gopls" then vim.lsp.codelens.refresh() end