-1

我试图让 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,但仍然没有语法高亮。有什么建议可以帮助我吗?

4

1 回答 1

0

你更新你的 filetype_extensions.conf 了吗?

您是否查看了http://geany.org/manual/#creating-a-custom-filetype-from-an-existing-filetype上的手册?

于 2013-11-22T14:03:06.770 回答