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

elextr notifications at xxxxx
Thu Feb 10 22:17:33 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

Well, which colours are mapped to the named styles is the job of the Geany colour scheme, not the filetype file.  The filetype file should map lexical elements to named styles only, not to colours. 

To match VScode there should be a VScode colour scheme that will make all languages match (within the limits of the respective lexers).  But if you just map a lexical element to "default" its not going to be coloured at all.

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

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


More information about the Github-comments mailing list