Bitwise » Forums » Vim ion syntax highlighting
shogas
2 posts
#14949 Vim ion syntax highlighting
6 months, 1 week ago Edited by shogas on April 14, 2018, 11:43 a.m. Reason: Initial post

Hello, everyone.

I'm sure someone already has created vim syntax highlighting for ion, but I couldn't find anything with a quick search, so I created my own. You can find it at github. Will probably be updated as I get to write more ion code.
Maykeye
19 posts
#14953 Vim ion syntax highlighting
6 months, 1 week ago

shogas
Hello, everyone.

I'm sure someone already has created vim syntax highlighting for ion, but I couldn't find anything with a quick search, so I created my own. You can find it at github. Will probably be updated as I get to write more ion code.


Neat! I've manually entered "// vim:smartindent" in ion files (or even single vim sessions) when I was not lazy(which is default state of mine).

This is so much better.
pervognsen
Per Vognsen
49 posts / 1 project
#14957 Vim ion syntax highlighting
6 months ago

This is great. I've been meaning to do a TextMate grammar (which can be used in both Sublime and Visual Studio and a lot of other editors) but it's been on the backburner...
Platin21
armin
2 posts
#15089 Vim ion syntax highlighting
5 months, 3 weeks ago Edited by armin on April 26, 2018, 7:09 p.m. Reason: more clear

So many people do a .tmLanguage but i did already make one it works for
sublime/vscode/textmate/vs so if you want you can download it.
Don't hesitate to make a pull request or opening an issue.
Will probably add Atom also in Future and if i get the vs extension done it
will also be better integrated with Visual Studio.
Link:
https://github.com/Platin21/ion.tmbundle
Maykeye
19 posts
#15102 Vim ion syntax highlighting
5 months, 3 weeks ago Edited by Maykeye on April 29, 2018, 4:21 p.m.

Platin21
So many people do a .tmLanguage but i did already make one it works for
sublime/vscode/textmate/vs so if you want you can download it.
Don't hesitate to make a pull request or opening an issue.
Will probably add Atom also in Future and if i get the vs extension done it
will also be better integrated with Visual Studio.
Link:
https://github.com/Platin21/ion.tmbundle


How to add it to VSCode? I copied vscode/ion/* to .vscode/extensions/ion (and .vscode/ion) but it doesn't show in list of languages when I click on "Plain Text" to change highlighting.

ETA: never mind. actually it works. I forgot that I use code-insiders instead of code. Once I moved to .vscode-insiders/extension/ion all worked