summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorRaphael Megzari2021-09-17 02:04:55 +0000
committerGitHub2021-09-17 02:04:55 +0000
commitb2195e08b54d9e01411e3b67c87c93711415884c (patch)
tree8119287eb5ee3aacec3c726342bc41c05ac57407 /languages.toml
parent64e8f0017c9d8d8fd02b3e86378522974f6437b3 (diff)
languages: add svelte support (#733)
* languages: add svelte support * languages: add svelte injections
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml9
1 files changed, 9 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 5c147770..fe473f89 100644
--- a/languages.toml
+++ b/languages.toml
@@ -278,6 +278,15 @@ comment-token = "--"
indent = { tab-width = 2, unit = " " }
[[language]]
+name = "svelte"
+scope = "source.svelte"
+injection-regex = "svelte"
+file-types = ["svelte"]
+roots = []
+indent = { tab-width = 2, unit = " " }
+language-server = { command = "svelteserver", args = ["--stdio"] }
+
+[[language]]
name = "yaml"
scope = "source.yaml"
file-types = ["yml", "yaml"]