Comments (8)
Somehow not including nanorc.nanorc seems to fix the issue, so the problem must be in there.
from nanorc.
And it seems that assembly highlighting doesn't work unless c highlighting is not included.
Boy this is a big mess.
from nanorc.
Actually, it seems that a lot of files cause conflicts with each other at random. I'm finding lots of issues through trial and error. And somehow nano stays silent about all of it, not reporting any errors.
from nanorc.
Hi @OrdinaryMagician, are you including these files in you ~/.nanorc
file? See the readme for more info. I have never experienced any of the issues that you are mentioning when the *.nanorc files are properly included in my ~/.nanorc
. In fact the only way syntax highlighting doesn't show up (and nano doesn't display an error) is if I haven't actually included the syntax highlighting file.
In many ways, it makes sense that you would see something when you include the nanorc.nanorc
file, because all of these are *.nanorc
files.
In any event, I think that this is a configuration issue on your end. I hope this helps.
from nanorc.
I simply have all the files included on my nanorc in alphabetical order. Maybe it's something about the order, I don't know.
edit: nevermind, I just seemed to have some few duplicate lines for some reason. By the way, Fish and Markdown files seem to have errors in lines 4 and 12 respectively.
from nanorc.
Glad that you figured this out! Is it OK to close? Also, pull requests very welcome if you have fixes for the broken lines.
from nanorc.
I could only figure out the Markdown one, and I don't know how to do pull requests so I'll just say there should be a ) and a " at the end of line 12.
from nanorc.
Great, thanks! I have fixed it.
from nanorc.
Related Issues (20)
- Feature Request [python.nanorc]: add f-string support HOT 1
- Error in .nano/nanorc.nanorc on line 26: Color 'normal' takes no prefix HOT 4
- Revert back
- Feature Request: Resource file for Visual Basic HOT 1
- Syntax Highlighting does not appear when I sudo [Arch] HOT 1
- Support whitespacedisplay HOT 2
- Readme reqeuest: Note where arch installs the nanorc files to
- Solidity HOT 3
- html.nanorc corrupts lines containing emoji HOT 2
- Error in some file on some line: Command "linter/comment" not understood HOT 3
- Lua syntax highlighting is broken HOT 2
- Please support files without file ending HOT 2
- Error in /Users/[USERNAME]/.nano/nanorc.nanorc on line 26: Color 'normal' takes no prefix
- Vlang highlighting HOT 4
- Highlight nano search result (CTRL+W) HOT 5
- Mistakes in '/usr/share/nano-syntax-highlighting/nanorc.nanorc' error message HOT 3
- Add V support HOT 1
- Feature request HOT 2
- Sorry for the noob question. Is /usr/share/nano-syntax-highlighting/ created only by this distribution, or is this a default directory for .nanorc files? HOT 2
- support vue and or svelte. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nanorc.