[Github-comments] [geany/geany] Imports and enables Asciidoc lexer from Lexilla 5.1.4 (PR #3097)

Antonio Cebrián notifications at xxxxx
Thu Feb 10 22:09:55 UTC 2022


@ancebfer commented on this pull request.



> @@ -1,35 +1,33 @@
 # For complete documentation of this file, please see Geany's main documentation
 [styling]
-# no syntax highlighting yet
+# Edit these in the colorscheme .conf file instead
+default=default
+strong=default,bold
+emphasis=default,italic
+header1=keyword_1
+header2=keyword_1
+header3=keyword_1
+header4=keyword_1
+header5=keyword_1
+header6=keyword_1
+ulist_item=default
+olist_item=default
+blockquote=default,italic

The scheme was configured to match appearance of AsciiDoc extension in Visual Studio Code:

https://marketplace.visualstudio.com/items?itemName=asciidoctor.asciidoctor-vscode

To match also colors, I use this local "filetypes.asciidoc" configuration file:

```
[styling]
strong=0x001080;0xffffff;true;false
header1=0x800000;0xffffff;true;false
header2=0x800000;0xffffff;true;false
header3=0x800000;0xffffff;true;false
header4=0x800000;0xffffff;true;false
header5=0x800000;0xffffff;true;false
header6=0x800000;0xffffff;true;false
link=0xa31515;0xffffff;false;false
comment=0x008000;0xffffff;false;false
attribval=0xa31515;0xffffff;false;false
macro=0x795e26;0xffffff;false;false
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3097#discussion_r804164280
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3097/review/879584871 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220210/fd17155c/attachment.htm>


More information about the Github-comments mailing list