A syntax highlighting plugin for Answer Set Programming (ASP).
Previously I was using the "SWI-Prolog" syntax highlighting plugin for my ASP code. However, it does not support the ASP program with Python script in it, and it can't highlight ASP choice rules. I couldn't find a solution for it, so I wrote one. Feel free to use it, and let me know if you have any questions/bugs/suggestions.
This package has been merged into the Package Control
channel provided by SublimeHQ
. I would highly recommend you to install from Package Control
, so that you can get the latest updates automatically.
- Goto
Package Control: Install Pacakge
. - Search for
Gringo
. - Hit the enter.
- Done.
- Download the
gringo.sublime-syntax
,gringo.tmPreferences
andGringo.sublime-build
. - Open your SublimeText, select
"Preference"->"Browse Packages..."
- Your file manager will open the
Package
for you. - Put the downloaded files under
User
folder. - Done.
I treat SublimeText as a GUI version of VIM. If you are a VIM user, you can visit rkaminsk's repo and get a plugin for vim.