aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJobinsJC <jobinsjjc1492@protonmail.com>2021-11-23 12:48:23 +0900
committerJobinsJC <jobinsjjc1492@protonmail.com>2021-11-23 12:48:23 +0900
commitbf3c9f44882ef14b2f5c0cf7355f2377a208638e (patch)
tree190e20b7b8a1d9acfdc345e5a418123327af5486 /plugins
parent9ce8ec37d09f7d838ac033d382ed03564b11d5e2 (diff)
downloadlite-xl-plugins-bf3c9f44882ef14b2f5c0cf7355f2377a208638e.tar.gz
lite-xl-plugins-bf3c9f44882ef14b2f5c0cf7355f2377a208638e.zip
Thanks Guldoman
Diffstat (limited to 'plugins')
-rw-r--r--plugins/language_julia.lua5
-rw-r--r--plugins/language_rust.lua2
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/language_julia.lua b/plugins/language_julia.lua
index c4e4e37..65bc1ce 100644
--- a/plugins/language_julia.lua
+++ b/plugins/language_julia.lua
@@ -1,10 +1,11 @@
-- mod-version:2 -- lite-xl 2.0
--- Support for the GDScript programming language: https://godotengine.org/
--- Covers the most used keywords up to Godot version 3.2.x
+-- Support for the Julia programming language:
+-- Covers the most used keywords up to Julia version 1.6.4
local syntax = require "core.syntax"
syntax.add {
+ name = "Julia",
files = { "%.jl$" },
comment = "#",
patterns = {
diff --git a/plugins/language_rust.lua b/plugins/language_rust.lua
index 9b94d69..dc06335 100644
--- a/plugins/language_rust.lua
+++ b/plugins/language_rust.lua
@@ -15,7 +15,7 @@ syntax.add {
{ pattern = "-?%d+[%d%.eE]*f?", type = "number" },
{ pattern = "-?%.?%d+f?", type = "number" },
{ pattern = "[%+%-=/%*%^%%<>!~|&]", type = "operator" },
- { pattern = "[%a_][%w_]*!%f[%[(]", type = "function" },
+ { pattern = "[%a_][%w_]*!%f[%[(]", type = "function" },
{ pattern = "[%a_][%w_]*%f[(]", type = "function" },
{ pattern = "[%a_][%w_]*", type = "symbol" },
},