diff options
author | Adam <adamdharrison@gmail.com> | 2022-03-24 12:16:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-24 12:16:00 -0400 |
commit | c60231de8a58cb265a0481d95606efd6e41da19d (patch) | |
tree | de58d8e57f64ab969db3d97f0a36ce31c443fba2 | |
parent | 9aa494522b58b7acd92cf2c0670629612cd592b7 (diff) | |
parent | 0d7efcc402ae5949012b897ca0c384ee4dac3eab (diff) | |
download | lite-xl-plugins-c60231de8a58cb265a0481d95606efd6e41da19d.tar.gz lite-xl-plugins-c60231de8a58cb265a0481d95606efd6e41da19d.zip |
Merge pull request #48 from StunxFS/update-language_glaz
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", |