From 6e3aa9cf791afba66bc513334f8a351e305c8d6d Mon Sep 17 00:00:00 2001 From: Mirco Schoenfeld Date: Wed, 18 Sep 2019 13:36:18 +0200 Subject: [PATCH] added lexer-settings for comments to be highlighted --- data/filedefs/filetypes.bibtex | 48 ++-------------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) diff --git a/data/filedefs/filetypes.bibtex b/data/filedefs/filetypes.bibtex index def2ccc10..1cc2fed71 100644 --- a/data/filedefs/filetypes.bibtex +++ b/data/filedefs/filetypes.bibtex @@ -1,51 +1,7 @@ # For complete documentation of this file, please see Geany's main documentation -[styling] -# Edit these in the colorscheme .conf file instead -default=default -command=keyword_1 -tag=tag -math=number_1 -comment=comment -# mappings below may need checking -tag2=tag -math2=number_1 -comment2=comment -verbatim=default -shortcmd=keyword_1 -special=keyword_2 -cmdopt=keyword_1 -error=error - -[keywords] -# all items must be in one line -primary=article [settings] +# highlights commented lines +lexer_filetype=LaTeX # default extension used when saving files extension=bib - -# MIME type -mime_type=text/x-bibtex - -# single comments, like # in this file -comment_single=% -# multiline comments -#comment_open= -#comment_close= - -# 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=true - -# context action command (please see Geany's main documentation for details) -context_action_cmd= - -[indentation] -#width=4 -# 0 is spaces, 1 is tabs, 2 is tab & spaces -#type=1 -