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

elextr notifications at xxxxx
Thu Feb 10 22:52:24 UTC 2022


@elextr 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

Probably the "right" solution would be to define some more named styles suitable for document markup languages (heading1-6, unordered_list, ordered_list, etc) instead of the typical Geany habit of trying to make all languages C ;-P

Then asciidoc, markdown, and rest (if it gets a lexer) can all use them.

Probably should have been done when markdown (the first document language lexer) was added.

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

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


More information about the Github-comments mailing list