Skip to content

Commit

Permalink
Imports and enables Asciidoc lexer from Lexilla 5.1.4 (geany#3097)
Browse files Browse the repository at this point in the history
  • Loading branch information
ancebfer authored Feb 12, 2022
1 parent ed26d13 commit a3031e9
Show file tree
Hide file tree
Showing 6 changed files with 454 additions and 26 deletions.
50 changes: 24 additions & 26 deletions data/filedefs/filetypes.asciidoc
Original file line number Diff line number Diff line change
@@ -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=tag_unknown
olist_item=tag_unknown
blockquote=tag_unknown
link=keyword_1
code=attribute_unknown
passthrough=default
comment=comment
literal=default
attrib=default
attribval=string
macro=preprocessor

[settings]
# default extension used when saving files
extension=asciidoc
extension=adoc

# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
comment_single=https://
# multiline comments
#comment_open=https:////
#comment_close=https:////
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=false
# context action command (please see Geany's main documentation for details)
context_action_cmd=
# MIME type
mime_type=text/x-asciidoc

# sort tags by appearance
symbol_list_sort_mode=1
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
1 change: 1 addition & 0 deletions scintilla/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ lexilla/include/SciLexer.h
LEXER_SRCS = \
lexilla/lexers/LexAbaqus.cxx \
lexilla/lexers/LexAda.cxx \
lexilla/lexers/LexAsciidoc.cxx \
lexilla/lexers/LexAsm.cxx \
lexilla/lexers/LexBash.cxx \
lexilla/lexers/LexBasic.cxx \
Expand Down
Loading

0 comments on commit a3031e9

Please sign in to comment.