From ebe14fb80218d7e81ac1a2de0659d9a295ddb4f2 Mon Sep 17 00:00:00 2001 From: Julien Chappuis Date: Tue, 29 Dec 2020 21:54:07 +0100 Subject: [PATCH 1/2] Adds support for Asciidoc / Asciidoctor file extensions Asciidoc is a markup format similar to Markdown, with more features. - adds *.adoc and *.asciidoc according to https://asciidoctor.org/docs/asciidoc-recommended-practices/#document-extension - *.asc wasn't added as it created a duplication with another format - used the same colour scheme as other document formats, namely markdown --- LS_COLORS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LS_COLORS b/LS_COLORS index 92e83fe..b55645f 100644 --- a/LS_COLORS +++ b/LS_COLORS @@ -73,7 +73,9 @@ STICKY_OTHER_WRITABLE 48;5;235;38;5;139;3 .log 38;5;190 # plain-text {{{2 .txt 38;5;253 -# markup {{{2 +# markup {{{2{{{}}} +.adoc 38;5;184 +.asciidoc 38;5;184 .etx 38;5;184 .info 38;5;184 .markdown 38;5;184 From cc81233ae2249e349b50612a83451e93d3a37a77 Mon Sep 17 00:00:00 2001 From: Julien Chappuis Date: Tue, 29 Dec 2020 22:00:14 +0100 Subject: [PATCH 2/2] Adds support for Asciidoc / Asciidoctor file extensions Asciidoc is a markup format similar to Markdown, with more features. - adds *.adoc and *.asciidoc according to https://asciidoctor.org/docs/asciidoc-recommended-practices/#document-extension - *.asc wasn't added as it created a duplication with another format - used the same colour scheme as other document formats, namely markdown --- LS_COLORS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LS_COLORS b/LS_COLORS index b55645f..253f1b1 100644 --- a/LS_COLORS +++ b/LS_COLORS @@ -73,7 +73,7 @@ STICKY_OTHER_WRITABLE 48;5;235;38;5;139;3 .log 38;5;190 # plain-text {{{2 .txt 38;5;253 -# markup {{{2{{{}}} +# markup {{{2 .adoc 38;5;184 .asciidoc 38;5;184 .etx 38;5;184