我试图让 Geany 识别Falcon的语法突出显示,但到目前为止还没有运气。我试过遵循这个 SO 解决方案,但没有这样的运气。我在 Fedora 18 上使用 Geany 1.23 版本。以下是我的自定义~/.config/geany/filedefs/filetypes.Falcon.conf
文件:
[keywords]
primary= <snip>
identifiers=<snip>
[settings]
extension=fal
comment_single=//
comment_open=/*
comment_close=*/
comment_use_indent=false
symbol_list_sort_mode=1
tag_parser=Falcon
lexer_filetype=Python
[indentation]
width=4
type=0
# (use only one of it at one time)
compiler=
linker=
run_cmd=falcon "%f"
我把所有的primary
和都删掉了,identifiers
因为它们很长,但我确实把它们包括在内。我试过使用lexer_filetype=C
,但仍然没有语法高亮。有什么建议可以帮助我吗?