1
0
mirror of https://github.com/scopatz/nanorc synced 2024-10-31 23:00:00 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
davidhcefx
3465607c5a Enhancements: Batch, HTML, JS
- [Batch] Fix that using "::" as comments sometimes failed
- [html] Tabs give 2 spaces by default
- [JS] Tabs give 2 spaces by default; Allow comments to be inline with code.
- [Sh] Also highlight PKGBUILD; Fix `${v%tail}` not highlighted; Use shellcheck as linter
2023-04-13 22:36:59 +08:00
Gareth Jones
c82f8da661
feat(js): format template strings 2020-04-16 12:33:49 +12:00
Gareth Jones
d573d03ccf
feat(js): add header regex 2020-03-18 14:46:45 +13:00
Harsh Shandilya
a22ad89b77
Fix block comments highlighting
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-22 16:57:25 +05:30
Zach DeCook
97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 2019-12-18 11:13:13 -05:00
Harsh Shandilya
3cbbea4a30
Handle this the proper way
Suggested-by: SuperSandro2000 <sandro.jaeckel@posteo.de>
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 18:58:54 +05:30
Harsh Shandilya
8b6b6b5ad8
Enforce leading spaces for comments in all languages
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2019-12-02 15:58:00 +05:30
tomcharter365
12b48e6a30
Fix not balanced parentheses
Needed to add `(` to line 32
2018-10-11 15:20:56 -06:00
Huub de Beer
8aaecabe59 Added ECMAScript 2015/6/7 keywrods and types to the two JavaScript syntac files. 2017-07-16 13:46:55 +02:00
Elof
d3d7b09738 Color trailing whitespace green 2016-12-06 22:04:38 +01: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
Anthony Scopatz
a3ff41fbd2 Added JavaScript rc 2012-06-13 13:12:05 -05:00