plugin/lsp: disable native omnifunc

This commit is contained in:
Dmitriy Pleshevskiy 2022-09-17 17:29:42 +03:00
parent ab06dbf6e4
commit 6d2c485ff0
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -15,7 +15,7 @@ vim.keymap.set("n", "<space>q", vim.diagnostic.setloclist, opts)
-- after the language server attaches to the current buffer
local on_attach = function(client, bufnr)
-- Enable completion triggered by <c-x><c-o>
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