【发布时间】:2013-06-30 19:47:40
【问题描述】:
我试图让 Geany 识别 Falcon 的语法突出显示,但到目前为止还没有运气。我试过关注this SO solution,但没有这样的运气。我在 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,但仍然没有语法高亮。有什么建议可以帮助我吗?
【问题讨论】:
标签: syntax-highlighting geany falcon