Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] No nim.nanorc (Read 961 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] No nim.nanorc

Is there a nim.nanorc anywhere? I have just tried various search engines with "nim.nanorc" with no results at all, plus searched GitHub,  it seems not to have even been observed that there doesn't seem to be one. There are a few repos of .nanorc files with extra file types supported, including an AUR package, but no nim.
Looking at nim files in nano I realized there was no syntax highlighting. Are there other apps that use a similar format to .nanorc files that could be adapted if they had nim highlighting available?
It's not essential to read nim files of course, but I thought it unusual to discover this.

 

Re: No nim.nanorc

Reply #1
There's one here now, and it works, actually it's been there for ages, I just hadn't searched again until now ;D
https://github.com/Oples/nanorc-nim

(Although in Artix you might need to edit /etc/nanorc so it finds it, as it probably won't be set up to look in the places that the instructions on there suggest, depending on what you've modified already)