Skip to content

Commit 11ae55b

Browse files
authored
feat: add svelte and astro support (#26)
* feat: add `svelte` support * feat: add `astro` support
1 parent 1d24a38 commit 11ae55b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lua/ts-error-translator/init.lua

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
local M = {}
33

44
-- All language servers that are supported
5-
local supported_servers = { "tsserver", "typescript-tools", "vtsls", "volar" }
5+
local supported_servers = {
6+
"astro",
7+
"svelte",
8+
"tsserver",
9+
"typescript-tools",
10+
"volar",
11+
"vtsls",
12+
}
613

714
-- Regex pattern for capturing numbered parameters like {0}, {1}, etc.
815
local parameter_regex = "({%d})"

0 commit comments

Comments
 (0)