From 3bf1072f8666da52c358b3a4a468eb539e8a71c8 Mon Sep 17 00:00:00 2001 From: Tiago Almeida Date: Sat, 5 Oct 2019 15:00:43 +0100 Subject: [PATCH 1/3] Update with some techical explanations... This is for someone (like me) that doesn't know how nano works. --- readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/readme.md b/readme.md index cc0dec2..616a324 100644 --- a/readme.md +++ b/readme.md @@ -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 `[[:>:]]`. 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 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) From 857d4047c44a356a30dab73cf8885ab826fd2095 Mon Sep 17 00:00:00 2001 From: Tiago Almeida Date: Sat, 5 Oct 2019 15:16:52 +0100 Subject: [PATCH 2/3] Correct typos --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 1947ec5..ef001ca 100644 --- a/readme.md +++ b/readme.md @@ -96,8 +96,8 @@ 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. +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)! From 92d5125fa7374694467a93be50a2cb024eeb094e Mon Sep 17 00:00:00 2001 From: Tiago Almeida Date: Sat, 5 Oct 2019 15:17:58 +0100 Subject: [PATCH 3/3] Correct typos --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index ef001ca..56689cd 100644 --- a/readme.md +++ b/readme.md @@ -96,7 +96,7 @@ 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). +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