diff options
author | Nightwing <jobinsjjc1492@protonmail.com> | 2021-12-03 23:07:28 +0900 |
---|---|---|
committer | Nightwing <jobinsjjc1492@protonmail.com> | 2021-12-03 23:07:28 +0900 |
commit | 9d91e39bf3711f14c5badb300d4ba8a4c24117c0 (patch) | |
tree | 57a95326abd088cd2aae440de5ec2f9704eceb47 /plugins | |
parent | 6bdc51987ec0d08bb7664a00089dc165ea742e5d (diff) | |
download | lite-xl-plugins-9d91e39bf3711f14c5badb300d4ba8a4c24117c0.tar.gz lite-xl-plugins-9d91e39bf3711f14c5badb300d4ba8a4c24117c0.zip |
Finally
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/language_julia.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/language_julia.lua b/plugins/language_julia.lua index ecdbdc0..e62a9b2 100644 --- a/plugins/language_julia.lua +++ b/plugins/language_julia.lua @@ -11,6 +11,11 @@ syntax.add { patterns = { {pattern = {"#=", "=#"}, type="comment" }, {pattern = "#.*$", type="comment" }, + { pattern = { 'icxx"""', '"""' }, type = "string", syntax = ".cpp" }, + { pattern = { 'cxx"""', '"""' }, type = "string", syntax = ".cpp" }, + { pattern = { 'py"""', '"""' }, type = "string", syntax = ".py" }, + { pattern = { 'js"""', '"""' }, type = "string", syntax = ".js" }, + { pattern = { 'md"""', '"""' }, type = "string", syntax = ".md" }, { pattern = "%d%w*[%.-+*//]", type = "number" }, { pattern = "0[oO_][0-7]+", type = "number" }, { pattern = "-?0x[%x_]+", type = "number" }, @@ -27,7 +32,7 @@ syntax.add { { pattern = "'\\.*'", type = "string" }, { pattern = "'.'", type = "string" }, { pattern = "[%a_][%w_]*%f[(]", type = "function" }, - { pattern = ".*!", type="function"}, + { pattern = "%g*!", type="function"}, { pattern = "[%a_][%w_]*", type = "symbol" }, }, symbols = { |