diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/language_moon.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/language_moon.lua b/plugins/language_moon.lua index 8042b7d..3ccb7ea 100644 --- a/plugins/language_moon.lua +++ b/plugins/language_moon.lua @@ -21,7 +21,8 @@ syntax.add { { pattern = "[%a_][%w_]*", type = "symbol" }, { pattern = {"\\", "[%a_][%w_]*"}, type = "function" }, { pattern = {"%.", "[%a_][%w_]*"}, type = "function" }, - { pattern = {"@", "[%a_][%w_]*"}, type = "keyword2" }, + { pattern = "@[%a_][%w_]*", type = "keyword2" }, + { pattern = "@", type = "keyword2" }, { pattern = "!", type = "keyword2" }, { pattern = "[%p]", type = "keyword" }, }, |