diff options
author | StunxFS <advancestunx@hotmail.com> | 2022-03-22 20:42:20 -0400 |
---|---|---|
committer | StunxFS <advancestunx@hotmail.com> | 2022-03-22 20:42:20 -0400 |
commit | 0d7efcc402ae5949012b897ca0c384ee4dac3eab (patch) | |
tree | de58d8e57f64ab969db3d97f0a36ce31c443fba2 | |
parent | 9aa494522b58b7acd92cf2c0670629612cd592b7 (diff) | |
download | lite-xl-plugins-0d7efcc402ae5949012b897ca0c384ee4dac3eab.tar.gz lite-xl-plugins-0d7efcc402ae5949012b897ca0c384ee4dac3eab.zip |
update `language_glaz`
-rw-r--r-- | plugins/language_glaz.lua | 6 |
1 files changed, 6 insertions, 0 deletions
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", |