TM1 Syntax File for VIM

Advertisements, add-ons and other commercial information
Post Reply
bgregs
Posts: 60
Joined: Wed Sep 12, 2018 11:19 am
OLAP Product: TM1 / Planning Analytics
Version: 2.0
Excel Version: 2016

TM1 Syntax File for VIM

Post by bgregs » Thu Jan 16, 2020 2:29 pm

Hi Everyone!

I may be the only one on the planet that uses VIM as their go-to text editor, but in case there are others, hopefully this syntax highlighter helps! I threw this together a little over a year ago for basic "quality of life" improvements when looking at .pro files in VIM, and it seems to help with some basic readability improvements.

https://github.com/bgregs514/tm1.vim

This currently only supports .pro files (see github README for more details), but I do plan on extending it to .rux files when I get some free time (and interest) to dig into it again. Feel free to use it, modify it, or ignore it! My only ask is that if you come up with something useful, please submit a pull request so we can add it to the main repository.

Thanks, and hope it's useful to someone!

User avatar
gtonkin
MVP
Posts: 805
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: PAL 2.0.3
Excel Version: 2016 64-bit
Location: JHB, South Africa
Contact:

Re: TM1 Syntax File for VIM

Post by gtonkin » Wed Jan 22, 2020 5:01 pm

There are two of us who use VIM :mrgreen: and possibly only two of us silly enough to directly edit .pro files.
Thanks for sharing - will have a look and feedback what I can.

User avatar
PavoGa
Community Contributor
Posts: 431
Joined: Thu Apr 18, 2013 6:59 pm
OLAP Product: TM1
Version: 10.2.2 FP7, PA2.0.05
Excel Version: 2013 PAW
Location: Cleveland, Tennessee

Re: TM1 Syntax File for VIM

Post by PavoGa » Wed Jan 22, 2020 8:04 pm

gtonkin wrote:
Wed Jan 22, 2020 5:01 pm
There are two of us who use VIM :mrgreen: and possibly only two of us silly enough to directly edit .pro files.
Thanks for sharing - will have a look and feedback what I can.
FWIW, I told bgregs I was an old vi guy in the UNIX/dumb terminal past, but Notepad++ is my buddy for the last few years. Never used vim.
Ty
Cleveland, TN

Post Reply