Added bash lsp
This commit is contained in:
parent
786042d422
commit
c0b8041df3
13
lua/andr3/langs/bash.lua
Normal file
13
lua/andr3/langs/bash.lua
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
local O = {}
|
||||||
|
|
||||||
|
local lspConfig = require('lspconfig')
|
||||||
|
function O.setup(on_attach, lsp_flags, capabilities)
|
||||||
|
lspConfig.bashls.setup{
|
||||||
|
on_attach = on_attach,
|
||||||
|
flags = lsp_flags,
|
||||||
|
capabilities = capabilities,
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
return O
|
||||||
|
|
@ -322,4 +322,5 @@ require 'andr3.langs.prisma'.setup(on_attach, lsp_flags, capabilities)
|
|||||||
require 'andr3.langs.svelte'.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.ccls'.setup(on_attach, lsp_flags, capabilities)
|
||||||
require 'andr3.langs.python'.setup(on_attach, lsp_flags, capabilities)
|
require 'andr3.langs.python'.setup(on_attach, lsp_flags, capabilities)
|
||||||
|
require 'andr3.langs.bash'.setup(on_attach, lsp_flags, capabilities)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user