aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed El Gabri <ahmed@gabri.me>2025-04-13 23:34:18 +0200
committerGitHub <noreply@github.com>2025-04-13 14:34:18 -0700
commit8e94b817e8dee625217162b387617b1a86cd6cfb (patch)
tree9a0656d924abc6df5b78011b45711dece26666d7
parentdocs: migrate docs to vim.lsp.config #3709 (diff)
downloadnvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.tar
nvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.tar.gz
nvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.tar.bz2
nvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.tar.lz
nvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.tar.xz
nvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.tar.zst
nvim-lspconfig-8e94b817e8dee625217162b387617b1a86cd6cfb.zip
feat(ast_grep): update filetypes #3720
`ast-grep` supports JSX/TSX: https://ast-grep.github.io/reference/languages.html#list-of-languages-with-built-in-support
-rw-r--r--lsp/ast_grep.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lsp/ast_grep.lua b/lsp/ast_grep.lua
index 99216645..34f8b2c1 100644
--- a/lsp/ast_grep.lua
+++ b/lsp/ast_grep.lua
@@ -17,7 +17,11 @@ return {
'java',
'python',
'javascript',
+ 'javascriptreact',
+ 'javascript.jsx',
'typescript',
+ 'typescriptreact',
+ 'typescript.tsx',
'html',
'css',
'kotlin',