We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff5386b commit d1223f7Copy full SHA for d1223f7
docs/guide/getting_started.md
@@ -61,7 +61,7 @@ Once the basic language configurations have been installed, add this to your
61
```lua
62
local on_attach = function(client, bufnr)
63
-- Enable completion triggered by <c-x><c-o>
64
- vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
+ vim.api.nvim_set_option_value("omnifunc", "v:lua.vim.lsp.omnifunc", { buf = bufnr })
65
66
local bufopts = { noremap = true, silent = true, buffer = bufnr }
67
vim.keymap.set('n', '<C-k>', vim.lsp.buf.signature_help, bufopts)
0 commit comments