Fix the config for termux_language_server, allowing it to fully work with all filetypes it actually supports
22 lines
598 B
Lua
22 lines
598 B
Lua
-- Manual lspconfig/changes where needed
|
|
|
|
vim.lsp.config("termux_language_server", {
|
|
filetypes = {
|
|
-- Android Termux
|
|
"sh.build", -- build.sh
|
|
"sh.subpackage", -- *.subpackage.sh
|
|
-- ArchLinux/Windows Msys2
|
|
"sh.PKGBUILD", -- PKGBUILD
|
|
"sh.install", -- *.install
|
|
"sh.makepkg.conf", -- makepkg.conf
|
|
-- Gentoo
|
|
"sh.ebuild", -- *.ebuild
|
|
"sh.eclass", -- *.eclass
|
|
"sh.make.conf", -- /etc/make.conf, /etc/portage/make.conf
|
|
"sh.color.map", -- /etc/portage/color.map
|
|
-- Zsh
|
|
"sh.mdd", -- *.mdd
|
|
},
|
|
})
|
|
vim.lsp.enable("termux_language_server") -- not enabled by default for some reason
|