Created attachment 234946 [details] Update nano config for adoc files https://docs.freebsd.org/en/books/fdp-primer/book/#editor-config-nano section still refers to the old xml syntax. This patch updates the config to support adoc documents. Additionally: - The syntax highlight is collected from different locations in the web - Remove line-wrapping related stuffs as in ASCIIDOC we can have longer lines as there is a rule "one sentence per line". I am not a super nano user so someone can suggest more changes.
I'm gonna make the commit @crees. It's a good upgrade.
Rather than commit, would you please give Moin approval to do so? It'd help his record a lot.
Of course, go ahead!
Here you go, approved :) I'll review the others as soon as I can, I'm sorry it's been a bit of time.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=4cb922f1851bea57d264724cc5a81d5b3b6fcdfa commit 4cb922f1851bea57d264724cc5a81d5b3b6fcdfa Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2022-06-26 22:55:52 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2022-06-26 22:55:52 +0000 Update nano config for adoc files en/books/fdp-primer/book/#editor-config-nano section still refers to the old xml syntax. This patch updates the config to support adoc documents. Additionally: - The syntax highlight is collected from different locations in the web - Remove line-wrapping related stuffs as in ASCIIDOC we can have longer lines as there is a rule "one sentence per line". PR: 264899 Obtained from: crees .../en/books/fdp-primer/editor-config/_index.adoc | 53 +++++++++++++++++----- 1 file changed, 41 insertions(+), 12 deletions(-)
(In reply to Sergio Carlavilla Delgado from comment #3) Thanks Sergio for giving me the opportunity. (In reply to Chris Rees from comment #4) Thanks. Take your time.