Skip to content
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

Command "header" not understood #16

Closed
mholt opened this issue Aug 12, 2013 · 3 comments
Closed

Command "header" not understood #16

mholt opened this issue Aug 12, 2013 · 3 comments

Comments

@mholt
Copy link

mholt commented Aug 12, 2013

I tapped into dupes, installed nano, then ran this command to add syntax highlighting for all languages:

$ /bin/ls /usr/local/share/nano/*.nanorc | xargs -I {} echo 'include "{}"' >> ~/.nanorc

Now when I run nano I get this error:

Error in /usr/local/Cellar/nano/2.2.6/share/nano/mgp.nanorc on line 4: Command "header" not understood

Press Enter to continue starting nano.


Error in /usr/local/Cellar/nano/2.2.6/share/nano/perl.nanorc on line 4: Command "header" not understood

Press Enter to continue starting nano.


Error in /usr/local/Cellar/nano/2.2.6/share/nano/python.nanorc on line 4: Command "header" not understood

Press Enter to continue starting nano.


Error in /usr/local/Cellar/nano/2.2.6/share/nano/ruby.nanorc on line 4: Command "header" not understood

Press Enter to continue starting nano.


Error in /usr/local/Cellar/nano/2.2.6/share/nano/sh.nanorc on line 4: Command "header" not understood

Press Enter to continue starting nano.

I'm kind of new to this tap; any suggestions where to start, or is this an easy fix I could dive into?

@scopatz
Copy link
Owner

scopatz commented Aug 15, 2013

Hey @mholt, this command seems like it is using global rc files (/usr/local/share/nano/), not the ones from this repository. Maybe the global files use an older syntax?

@mholt
Copy link
Author

mholt commented Aug 15, 2013

Oh snap, you know, that's a good point. Didn't notice that those files in this repo don't actually use the header keyword. Okay --- misconfig on my end. Nevermind!

@mholt mholt closed this as completed Aug 15, 2013
@scopatz
Copy link
Owner

scopatz commented Aug 15, 2013

Not a problem =)

galenguyer added a commit to davidhcefx/nanorc that referenced this issue Feb 24, 2024
feat(vlang): Add vlang highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants