1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-14 13:14:16 +01:00
Commit Graph

229 Commits

Author SHA1 Message Date
amateursuperuser
0f3f348b1c fixed line errors that caused nano to complain
GNU nano was complaining about syntax errors for parsing perl6.nanorc. nanorc reserved word "color" needs 2 parameters. Works on Arch Linux with nano 2.4.2
2015-07-23 12:39:17 -05:00
Anthony Scopatz
6c57011c02 Merge pull request #55 from simon-v/master
Ledger and Python syntax extensions
2015-07-06 10:13:47 +03:00
Simon Volpert
11fe61dad0 Merge branch 'master' of github.com:scopatz/nanorc 2015-07-05 20:04:58 +03:00
Simon Volpert
157ee8ca27 Add a separate rule for beancount account name syntax 2015-06-29 19:37:34 +03:00
Simon Volpert
603c5e5469 Allow flagging a transaction leg 2015-06-28 20:40:08 +03:00
Anthony Scopatz
92497327f6 Merge pull request #56 from grandtheftjiujitsu/master
Added Perl6 Syntax Highlighting
2015-06-23 19:47:24 +03:00
grandtheftjiujitsu
bf0512d73e added hybrid perl5 / perl6 syntax highlighting from CPAN 2015-06-21 15:09:30 -04:00
Simon Volpert
12e994ba09 Ledger: allow flag to be an exclamation mark 2015-06-21 21:12:50 +03:00
Simon Volpert
65446005a5 True and False are Python built-in objects 2015-06-21 19:05:44 +03:00
Simon Volpert
bd7da6b59e Extend ledger syntax to include beancount 2015-06-17 19:33:00 +03:00
Anthony Scopatz
57f37d5428 Merge pull request #51 from michaellopez/bad-regex-fix
Fixed for bad regex. From justinribeiro/nanorc@449447fffe
2015-04-26 13:38:24 -07:00
Michael Lopez
da811ad87e Fixed for bad regex. From justinribeiro/nanorc@449447fffe 2015-04-21 09:04:44 +02:00
Anthony Scopatz
c8874a7102 Merge pull request #50 from eric-wieser/patch-1
Add htaccess to file pattern
2015-04-14 09:00:13 -05:00
Eric Wieser
d8f0c106a5 Add htaccess to file patter 2015-04-14 10:14:31 +01:00
Anthony Scopatz
7a6608a5f4 Merge pull request #45 from cuplizian/master
Remove lazy operator for OS X compatibility
2014-10-05 10:43:48 -07:00
Ian Mustafa
146c3848b5 Remove lazy operator for OS X compatibility
Should work well as of pull request #14
2014-10-05 07:42:44 +07:00
Anthony Scopatz
44d0c55b36 Merge pull request #44 from stiemannkj1/master
Fixes #43: html.nanorc yellow regex is greedy and matches all quotes until the final quote.
2014-09-30 15:20:40 -07:00
Kyle Stiemann
e5dd5c5f42 Fixes #43: html.nanorc yellow regex is greedy and matches all quotes until the final quote.
Since the non-greedy operator `?` causes an error, I've implemented non-greedy matching using not-quote zero or more times (`[^"]*`) instead.
2014-09-30 18:15:26 -04:00
Anthony Scopatz
02cfdc3a63 Merge pull request #40 from MatthewCox/tcl
Add tcl syntax highlighting from https://code.google.com/p/nanosyntax/ (lightly altered)
2014-08-02 16:53:22 -07:00
Anthony Scopatz
8929a577c2 Merge pull request #39 from MatthewCox/python
Significant Python highlighting improvements (mostly from https://code.google.com/p/nanosyntax/)
2014-08-02 16:52:55 -07:00
Anthony Scopatz
e98ae096b2 Merge pull request #38 from MatthewCox/general
Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting
2014-08-02 16:52:15 -07:00
Anthony Scopatz
b6eecf18f4 Merge pull request #37 from MatthewCox/zsh
significantly improved zsh* syntax highlighting (started from sh.nanorc)
2014-08-02 16:51:35 -07:00
Matthew Cox
6e75adacec Add header directives for perl and ruby, make the sh header directive more flexible, add header keyword to nanorc highlighting 2014-08-02 23:25:00 +01:00
Matthew Cox
44139392ac Significant Python highlighting improvements (mostly from https://code.google.com/p/nanosyntax/) 2014-08-02 23:22:17 +01:00
Matthew Cox
e9c885e82e Add tcl syntax highlighting from https://code.google.com/p/nanosyntax/ (lightly altered) 2014-08-02 23:18:46 +01:00
Matthew Cox
a98449b466 significantly improved zsh* syntax highlighting (started from sh.nanorc) 2014-08-02 23:12:13 +01:00
Anthony Scopatz
5e347dd43c Merge pull request #34 from liquidstate/puppetdevelopment
added puppet and ERB highlighting
2014-08-02 14:37:25 -07:00
Anthony Scopatz
fa0888177d Merge pull request #35 from sinaa/patch-2
Update php.nanorc
2014-08-02 14:37:10 -07:00
Sina
2f105dc7ba Update php.nanorc
Small typo error fix
2014-08-02 22:23:19 +01:00
Bryan Ross
0fe06445a9 added puppet and ERB highlighting 2014-08-02 09:05:51 +01:00
Anthony Scopatz
da5510f8fa Merge pull request #33 from sinaa/patch-1
Update php.nanorc
2014-08-02 00:08:03 -07:00
Sina
7f97ded8d8 Update php.nanorc
A much better grammar for php.

Found and taken from: https://code.google.com/p/nanosyntax/issues/detail?id=4
2014-08-02 05:24:56 +01:00
Anthony Scopatz
a9584ec937 Merge pull request #32 from paulinder/master
Added scala.nanorc
2014-08-01 17:26:51 -07:00
Paul Inder
cf0c2f6d84 added scala.nanorc to the .nanorc template 2014-08-01 19:33:21 -04:00
Paul Inder
8db30f6769 added scala syntax highlighting v1 2014-08-01 19:29:24 -04:00
Anthony Scopatz
e95a42eeac Merge pull request #31 from vvillee/master
Fixed a problem where path with stars was mixed up with a comment within...
2014-07-31 10:14:38 -07:00
Ville Pulkkinen
ad3fff659d Fixed a problem where path with stars was mixed up with a comment within a text delimiter characters 2014-07-31 13:57:13 +03:00
Anthony Scopatz
a376424640 Merge pull request #30 from stevenhoneyman/master
Minor improvements to sh.nanorc
2014-06-21 18:05:55 -05:00
Steven Honeyman
b19f77feef Minor improvements to sh.nanorc
- Removed "makefile" (it has its own highlighting)
- Added header filter to detect files without an extension
- Added .bash_functions as a "known file"
2014-06-22 00:02:33 +01:00
Anthony Scopatz
f11e870aba Merge pull request #29 from kaernyk/patch-1
add alternate cloning method
2014-06-20 14:44:23 -05:00
kaernyk
c75e630b1b add alternate cloning method
Upon first try I recived a permission denied msg when attempting to clone the repository. For ease of use when future users attempt to use this repository, I've added an alternative method as a backup.
2014-06-20 14:23:58 -04:00
Anthony Scopatz
e81bb080db Merge pull request #26 from tortxof/master
Made some changes to css.nanorc
2014-05-12 01:33:38 -05:00
Daniel Jones
56f3b17cbc Changed css file regex to also match scss files. 2014-05-12 00:57:15 -04:00
Daniel Jones
b31ddc5645 Fixed css comment highlighting. Removed extra whitespace. 2014-05-11 18:41:00 -04:00
Anthony Scopatz
3c0e769ae3 Merge pull request #24 from floomby/master
added highlighting for undo option in nanorc files
2014-03-06 18:13:46 -06:00
floomby
9eb0975839 added highlighting for undo option in nanorc files 2014-03-06 16:41:56 -07:00
Anthony Scopatz
1c2bba7b93 whoops needed to do add 2014-03-04 22:54:17 -06:00
Anthony Scopatz
c98a379e0c license 2014-03-04 21:52:19 -06:00
Anthony Scopatz
b1b372c916 more asciidoc fixes 2014-02-23 11:50:40 -06:00
Anthony Scopatz
9611872cd2 fist stab at asciidoc 2014-02-22 19:26:13 -06:00