Closed patarapolw closed 4 years ago
Yeah... it really looks like you have an old version of nano. Some of these directives were added in the last few versions I think. I have 4.9.2 on FreeBSD. I don't think that'll fix bad regex errors though. Those ones might just be mistakes in this repo. You should probably import only the files you need instead of all of them (or try to manually fix or open issues for the ones that still show syntax errors after an update).
You are right.
GNU nano version 2.0.6 (compiled 22:43:45, Feb 28 2020)
BTW, vim is not that far. Is it about the legal / licensing issue?
VIM - Vi IMproved 8.1 (2018 May 18, compiled Feb 29 2020 00:47:39) macOS version
This is the fix.
brew install nano
1st instruction
2nd instruction
Boils down to
header
,magic
,comment
andBad regex
, actually.