Add jedi language server
This commit is contained in:
parent
329be26b67
commit
c49de8cb6c
3 changed files with 11 additions and 0 deletions
8
roles/neovim/files/lua/lsp/python.lua
Normal file
8
roles/neovim/files/lua/lsp/python.lua
Normal file
|
@ -0,0 +1,8 @@
|
|||
-- LSP Server for Python
|
||||
|
||||
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
require'lspconfig'.jedi_language_server.setup {
|
||||
capabilities = capabilities,
|
||||
on_attach = global_attach,
|
||||
}
|
|
@ -17,3 +17,4 @@ require('lsp.bash')
|
|||
require('lsp.latex')
|
||||
require('lsp.lua')
|
||||
require('lsp.markdown')
|
||||
require('lsp.python')
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
- python-black
|
||||
- shellcheck
|
||||
- bash-language-server
|
||||
- jedi-language-server
|
||||
- lua-language-server
|
||||
- texlab
|
||||
- name: Install things with npm (Archlinux)
|
||||
|
@ -79,6 +80,7 @@
|
|||
pip:
|
||||
name:
|
||||
- ansible-lint
|
||||
- jedi-language-server
|
||||
extra_args: --user
|
||||
- name: Install things with npm (Debian)
|
||||
become: true
|
||||
|
|
Loading…
Add table
Reference in a new issue