nVim/lua/core/lspconfig.lua
Robert Morrison 986aa13d27 fix(termux_language_server): fix lsp config
Fix the config for termux_language_server, allowing it to fully work
with all filetypes it actually supports
2025-09-28 04:37:09 +01:00

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