From 0d7efcc402ae5949012b897ca0c384ee4dac3eab Mon Sep 17 00:00:00 2001 From: StunxFS Date: Tue, 22 Mar 2022 20:42:20 -0400 Subject: update `language_glaz` --- plugins/language_glaz.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/language_glaz.lua b/plugins/language_glaz.lua index bfff246..fc86c04 100644 --- a/plugins/language_glaz.lua +++ b/plugins/language_glaz.lua @@ -1,5 +1,7 @@ -- mod-version:2 -- lite-xl 2.0 +-- by StunxFS :) + local syntax = require "core.syntax" syntax.add { @@ -65,11 +67,14 @@ syntax.add { ["try"] = "keyword", ["orelse"] = "keyword", ["catch"] = "keyword", + ["cast"] = "keyword", ["as"] = "keyword", ["is"] = "keyword", ["in"] = "keyword", ["and"] = "keyword", ["or"] = "keyword", + ["Self"] = "keyword", + -- types ["i8"] = "keyword2", ["i16"] = "keyword2", @@ -89,6 +94,7 @@ syntax.add { ["charptr"] = "keyword2", ["rawptr"] = "keyword2", ["map"] = "keyword2", + -- literals ["base"] = "literal", ["self"] = "literal", -- cgit v1.2.3