summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorMateusz S. Szczygieł2021-11-08 15:48:00 +0000
committerGitHub2021-11-08 15:48:00 +0000
commit3f0345ff5814cea1d733ec2c5d846db66de29af6 (patch)
tree6b09002e24f288ff027e172af25597ed1e6d598f /languages.toml
parent549cdee56159bed4266990ae66591dd6299293d4 (diff)
glsl support (#993)
* add glsl language support * glsl: use indents.toml file
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml8
1 files changed, 8 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 067138e4..45fc2ab2 100644
--- a/languages.toml
+++ b/languages.toml
@@ -402,6 +402,14 @@ indent = { tab-width = 2, unit = " " }
language-server = { command = "cmake-language-server" }
[[language]]
+name = "glsl"
+scope = "source.glsl"
+file-types = ["glsl", "vert", "tesc", "tese", "geom", "frag", "comp" ]
+roots = []
+comment-token = "//"
+indent = { tab-width = 4, unit = " " }
+
+[[language]]
name = "perl"
scope = "source.perl"
file-types = ["pl", "pm"]