【问题标题】:Yet Another Syntax Highlighting in Geany IssueGeany 问题中的另一个语法亮点
【发布时间】: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"

我删除了所有 primaryidentifiers,因为它们相当长,但我确实包含了它们。我尝试过使用lexer_filetype=C,但仍然没有语法高亮。有什么建议可以帮助我吗?

【问题讨论】:

    标签: syntax-highlighting geany falcon


    【解决方案1】:

    您是否更新了您的 filetype_extensions.conf?

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多