aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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" },
},