Files
keycodex/lua/extensions.lua
T
sankalp 9e589bc70c 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)
2026-05-08 21:40:46 +05:45

73 lines
838 B
Lua

local treesitter_parsers = {
"c",
"markdown",
"python",
"java",
"cpp",
"bash",
"lua",
"make",
"json",
"jsonc",
"sql",
"yaml",
"toml",
"javascript",
"typescript",
"gitignore",
"go",
"rust",
"html",
"css",
"scss",
"markdown_inline",
"regex",
"latex",
"tsx",
"svelte",
"typst",
"vue",
}
local lsp_server = {
"ts_ls",
"html",
"cssls",
"tailwindcss",
"lua_ls",
"basedpyright",
"bashls",
"clangd",
"rust_analyzer",
}
local formatter = {
"clang_format",
"ruff",
"stylua",
"prettier",
"markdown-toc",
"markdownlint-cli2",
"biome",
}
local linter = {
"eslint_d",
"hadolint",
"write_good",
"markdownlint",
"shellcheck",
"actionlint",
"djlint",
"ruff",
"codespell",
"cspell",
}
return {
ts_parsers = treesitter_parsers,
lsp_server = lsp_server,
formatter = formatter,
linter = linter,
}