Skip to content

Commit

Permalink
/lsp/lspconfig.lua: Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
brainfucksec committed Nov 18, 2022
1 parent 2b14603 commit eca33f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/lsp/lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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')

-- Highlighting references.
-- See: https://sbulav.github.io/til/til-neovim-highlight-references/
Expand Down

0 comments on commit eca33f9

Please sign in to comment.