Compare commits
2 Commits
b655d82f15
...
d086bf69df
Author | SHA1 | Date | |
---|---|---|---|
|
d086bf69df | ||
|
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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user