diff options
| author | jdhao <jdhao@hotmail.com> | 2021-11-06 20:05:54 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2021-11-06 20:05:54 +0800 |
| commit | bd92419bf9867d30d61b5dc9968ebc5a6595f2c7 (patch) | |
| tree | 0d6407bac3ae901a7e972e0a46deae73dbaba869 /lua | |
| parent | 6281322fce377e602f8ac1cd6311d2cf72c58859 (diff) | |
remove lsp omnifunc conf
I never used it.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/lsp.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index c48c34b..68ded7e 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -16,11 +16,6 @@ local custom_attach = function(client, bufnr) local function buf_set_keymap(...) api.nvim_buf_set_keymap(bufnr, ...) end - local function buf_set_option(...) - api.nvim_buf_set_option(bufnr, ...) - end - - buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc") -- Mappings. local opts = { noremap = true, silent = true } |
