Commit Graph

10 Commits

Author SHA1 Message Date
davidhcefx
466a586e17 fix(lua): update escape and adjust coloring
- Numbers and escapes: magenta
2024-02-26 01:39:16 +08:00
davidhcefx
bfd06f8741 fix(lua): add keyword, number matching
- goto keyword
- math.sin typo
- Properly match numbers according to https://www.lua.org/manual/5.4/manual.html#3.1
2024-02-04 04:11:28 +08:00
Zach DeCook
db98b9f1b5 * NanoRC Files: Copy linter and magic from nano 4.6 configs 2019-12-18 11:20:31 -05:00
Zach DeCook
97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 2019-12-18 11:13:13 -05:00
maritaria
d76277c3f9 Highlight trailing whitespaces
Taken from the sh.nanorc file for highlighting trailing whitespaces
2016-04-30 19:44:51 +02:00
EarthCitizen
cc32a88dc7 Fix syntax error: "empty (sub)expression"
Nano errors on startup due to empty OR condition in regex
2016-03-03 10:39:44 -07:00
ThomasR
bba53c3940 Rename syntax definitions
Duplicate syntax definition names may cause problems.
Since nano comes with predefined all-lowercase syntax definitions,
we use uppercase letters everywhere to reduce the risk of future conflicts
2016-03-02 20:51:19 +01:00
Coşku Baş
5c2ea78cff Add missing std library keywords for Lua 5.2 and 5.3 2016-02-16 22:52:32 +02:00
Coşku Baş
ae26836577 Fix Lua multiline comment and string 2016-02-16 21:41:14 +02:00
Anthony Scopatz
15674e52cb Added lua.nanorc 2011-02-02 13:58:00 -06:00