Update with some techical explanations...

This is for someone (like me) that doesn't know how nano works.
This commit is contained in:
Tiago Almeida 2019-10-05 15:00:43 +01:00
parent 66df684e08
commit 3bf1072f86

View File

@ -92,6 +92,15 @@ The bug is fixed in Nano, but this might be a problem if you are using an older
If this is the case, replace them respectively with `[[:<:]]` and `[[:>:]]`. If this is the case, replace them respectively with `[[:<:]]` and `[[:>:]]`.
This is reported in [Issue 52](https://github.com/scopatz/nanorc/issues/52). This is reported in [Issue 52](https://github.com/scopatz/nanorc/issues/52).
## Why not include the original files?
It is a good question, but the way that nano reads the files matters.
In other words, the regex instructions should be in a specific order (you can see that in some nanorc files).
So, if we include or extendsyntax (yes, there is also this command) the colors or other things won't be work well.
The best way to do is copying and editing the original files (if it is needed).
The bug about it: https://savannah.gnu.org/bugs/index.php?5698
But if some original nanorc file needs an update, feel free to [patch it](https://savannah.gnu.org/patch/?func=additem&group=nano)!
# Acknowledgements # Acknowledgements
Some of these files are derived from the original [Nano](https://www.nano-editor.org) editor [repo](https://git.savannah.gnu.org/cgit/nano.git) Some of these files are derived from the original [Nano](https://www.nano-editor.org) editor [repo](https://git.savannah.gnu.org/cgit/nano.git)