added pyright lsp config
This commit is contained in:
parent
619faa4cf7
commit
df380a1fe0
|
@ -132,6 +132,12 @@ require'lspconfig'.efm.setup {
|
|||
}
|
||||
}
|
||||
}
|
||||
require'lspconfig'.pyright.setup {
|
||||
capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities()),
|
||||
on_attach = function(_, bufnr)
|
||||
vim.api.nvim_buf_set_option(bufnr, 'omnifunc', 'v:lua.vim.lsp.omnifunc')
|
||||
end,
|
||||
}
|
||||
|
||||
|
||||
-- status line setup
|
||||
|
|
Loading…
Reference in New Issue