From 3f0345ff5814cea1d733ec2c5d846db66de29af6 Mon Sep 17 00:00:00 2001 From: Mateusz S. Szczygieł Date: Mon, 8 Nov 2021 16:48:00 +0100 Subject: glsl support (#993) * add glsl language support * glsl: use indents.toml file--- languages.toml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'languages.toml') diff --git a/languages.toml b/languages.toml index 067138e4..45fc2ab2 100644 --- a/languages.toml +++ b/languages.toml @@ -401,6 +401,14 @@ comment-token = "#" 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" -- cgit v1.2.3-70-g09d2