From 6d2c485ff088c20697c66d9ac969bb672a63f1ed Mon Sep 17 00:00:00 2001 From: janabhumi Date: Sat, 17 Sep 2022 17:29:42 +0300 Subject: [PATCH] plugin/lsp: disable native omnifunc --- plugins/lsp/lspconfig.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/lsp/lspconfig.lua b/plugins/lsp/lspconfig.lua index 8109665..f921fb4 100644 --- a/plugins/lsp/lspconfig.lua +++ b/plugins/lsp/lspconfig.lua @@ -15,7 +15,7 @@ vim.keymap.set("n", "q", vim.diagnostic.setloclist, opts) -- after the language server attaches to the current buffer local on_attach = function(client, bufnr) -- Enable completion triggered by - vim.api.nvim_buf_set_option(bufnr, "omnifunc", "v:lua.vim.lsp.omnifunc") + -- vim.api.nvim_buf_set_option(bufnr, "omnifunc", "v:lua.vim.lsp.omnifunc") -- Mappings. -- See `:help vim.lsp.*` for documentation on any of the below functions