Added python lsp
This commit is contained in:
parent
a4164204a7
commit
2ce3307007
@ -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
|
||||
|
13
lua/andr3/langs/python.lua
Normal file
13
lua/andr3/langs/python.lua
Normal 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
|
||||
|
@ -283,4 +283,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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user