-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for nanorc #4335
Comments
This would actually be a good idea. Dotfile repos are extremely common on GitHub, and many hackers tend to dig through them looking for tricks. Syntax highlighting for By the same token, other @pchaigno Any thoughts? |
I'm all for it, but do we have a Sublime Text, Atom, or TextMate grammar we could use to highlight these files? |
@pchaigno Maybe this could be of help?
Looked for TextMate or Sublime but couldn't find any. |
I'm tempted to hack one together, because we could leverage our existing grammar for highlighting regular expressions — all we'd need is a wrapper for it and some The |
@Alhadis How much time would you need? Should we use |
Already finished. Lol... Haven't published it yet. I'll do so now. |
There you go. =) How's this? |
Great! @perlun Do you want to open a pull request (see point 2 of Adding a language) to use @Alhadis' new grammar for nanorc? |
I'll see how many more grammars I can get ticked off that repository's readme before he submits the PR... 😁 |
Will do. Should I add the grammars I wrote for |
👍 We should probably group the corresponding languages under a common parent language. |
I guess |
Yeah, sorry, I didn't see this until now and I'm pretty certain @Alhadis is a more experienced contributor to the project anyway. =) So, I'm happy to delegate the work in this case. 😉 Many thanks for looking into it! 👍 |
Preliminary Steps
Please confirm you have...
Problem Description
nano is a very commonly available console-based text editor for GNU/Linux and other systems. It's often installed by default, or easily installable using
apt-get
or similar mechanisms. Its configuration file is called~/.nanorc
.It would be great if linguist would provide support (syntax highlighting) for
nanorc
files. This issue exists to track adding this support.Here is a reasonably complete syntax definition that could be used if anyone feels like looking into this: https://github.com/perlun/dotfiles/blob/master/nano/syntax/nanorc.nanorc (this file in itself uses the
nanorc
syntax, so it can also be used as an example)URL of the affected repository:
Example file: https://github.com/perlun/dotfiles/blob/master/nanorc
Last modified on:
2018-11-22
Expected language:
nanorc
Detected language:
None
The text was updated successfully, but these errors were encountered: