pass more stuff to completion.on_attach (doesn't fix anything)
This commit is contained in:
parent
1185288ee9
commit
0cb027d148
2
init.vim
2
init.vim
|
@ -149,7 +149,7 @@ local nvim_lsp = require('lspconfig')
|
|||
-- This basically enables autocompletion
|
||||
local on_attach = function(_, bufnr)
|
||||
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
||||
require'completion'.on_attach()
|
||||
require'completion'.on_attach(_, bufnr)
|
||||
-- also attach lsp-status
|
||||
nvim_lsp_status.on_attach(_, bufnr)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user