feat(lua): expand LuaLSP, Treesitter and pack helper configurations

Why: improve language support and fix a client API typo

- New Features
  - Added extensive filetype list for Tailwind LSP (astro, blade, ejs, etc.) and enabled the language server
  - Extended Treesitter parser list with regex, latex, tsx, svelte, typst, vue
  - Introduced PackChanged autocmd that notifies on install/update builds
- Enhancements
  - Disabled unused provider loaders (node, perl, python3, ruby)
  - Registered additional filetype handlers for various template extensions
  - Updated markdown style setting and filledchars option
- Bug Fixes
  - Corrected client:supports_method call in autocmd.lua (removed stray colon)
This commit is contained in:
sankalp committed 2026-05-08 21:40:46 +05:45
1 parent 1b5153df2d
commit 9e589bc70c
5 files changed
+98 -1

No files matched your search

+24
View File
@@ -58,6 +58,11 @@ end
vim.g.loaded_netrw = 1
vim.g.loaded_netrwPlugin = 1
vim.g.loaded_node_provider = 0
vim.g.loaded_perl_provider = 0
vim.g.loaded_python3_provider = 0
vim.g.loaded_ruby_provider = 0
vim.opt.path:append({ "**" })
vim.opt.shortmess:append({ W = true, I = true, c = true }) -- disable greeting
@@ -65,3 +70,22 @@ vim.opt.shortmess:append({ W = true, I = true, c = true }) -- disable greeting
vim.g.markdown_recommended_style = 0
vim.cmd([[set fillchars+=eob:\ ]])
vim.filetype.add({
extension = {
astro = "astro",
ejs = "ejs",
hbs = "hbs",
njk = "nunjucks",
postcss = "postcss",
razor = "razor",
slim = "slim",
sugarss = "sugarss",
edge = "edge",
jade = "jade",
leaf = "leaf",
erb = "erb",
gohtml = "gohtml",
gohtmltmpl = "gohtmltmpl",
},
})