Compare commits

...

2 Commits

Author SHA1 Message Date
Andre Herniques
d086bf69df Merge branch 'main' of git.andr3h3nriqu3s.com:andr3/nvim-config 2023-05-15 13:59:09 +01:00
Andre Herniques
2ce3307007 Added python lsp 2023-05-15 13:58:58 +01:00
3 changed files with 19 additions and 1 deletions

View File

@ -2,7 +2,11 @@ local O = {}
local lspConfig = require('lspconfig')
function O.setup(on_attach, lsp_flags, capabilities)
lspConfig.prismals.setup{}
lspConfig.prismals.setup{
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
}
end
return O

View File

@ -0,0 +1,13 @@
local O = {}
local lspConfig = require('lspconfig')
function O.setup(on_attach, lsp_flags, capabilities)
lspConfig.pylsp.setup{
on_attach = on_attach,
flags = lsp_flags,
capabilities = capabilities,
}
end
return O

View File

@ -321,4 +321,5 @@ require 'andr3.langs.ts'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.prisma'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.svelte'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.ccls'.setup(on_attach, lsp_flags, capabilities)
require 'andr3.langs.python'.setup(on_attach, lsp_flags, capabilities)