Artix Linux Forum

Artix Linux => Software development => Topic started by: ####### on 26 September 2019, 03:12:22

Title: [SOLVED] No nim.nanorc
Post by: ####### on 26 September 2019, 03:12:22
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.
Title: Re: No nim.nanorc
Post by: ####### on 03 November 2020, 03:40:11
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 (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)