问题描述
我有语法突出显示 for pyray in vim(。 vim)和emacs(.el),并希望在Sublime Text(3)中使用它们。
I have syntax highlighting files for Pyret in vim (.vim) and emacs (.el) and would like to use them in Sublime Text (3).
根据等研究,Sublime Text风格主题以编写。
According to this answer and other research, Sublime Text style themes are written in TextMate format.
存在 - 该asker最终构建了转换成用于导入到TextMate的JSON / XML。
I would like to know if there have been developed any tools to help convert a vim or emacs syntax style file to TextMate, and, if not, how I would go about converting the vim/el files into JSON/XML for importing into TextMate.
推荐答案
虽然我还没有找到任何工具帮助我,我找到了一些帮助。
While I haven't been able to find any tools to help me out, I have found some help.
正在走过我如何在YAML中手动构建一个模板,然后通过PackageDev SublimeText包将其转换为SublimeText的tmL语言。
This a super-helpful guide is walking me through how to manually build a template in YAML and then convert it to SublimeText's tmLanguage via the PackageDev SublimeText package.
编辑:我的解决方案,附带说明可用。
EDIT: My solution, with instructions, is available here.
这篇关于将Emacs / vim突出显示转换为TextMate(对于SublimeText)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!