Is there a Sublime Text Syntax for Flex and Bison?

后端 未结 5 2425
既然无缘
既然无缘 2021-02-19 13:52

I\'m looking for a syntax in Sublime Text that highlights my Flex and Bison files (or lex/yacc) in a way that makes them readable... Sublime Text automatically chooses Lisp for

5条回答
  •  梦毁少年i
    2021-02-19 14:03

    I haven't found one built specifically for Sublime, but I've found one for TextMate, which Sublime is compatible with.

    Therefore, for Flex highlight, all you need to do is git clone the TextMate's syntax files to your Packages folder.

    Regarding Bison, I've found a syntax for TextMate, but it didn't work very well for me. The one Vaklarados posted worked nicer with my source files.

提交回复
热议问题