Re: [PATCH] Add initial version of rtl.vim syntax file.

2018-06-19 Thread Martin Liška
On 06/15/2018 06:18 PM, Alexander Monakov wrote: > On Fri, 15 Jun 2018, Martin Liška wrote: >> So you prefer to come up with a plugin folder with the *.vim files? > > Yes, the main reason being very simple installation if already using a > plugin manager. A plugin folder may contain a custom ftdet

Re: [PATCH] Add initial version of rtl.vim syntax file.

2018-06-18 Thread Jeff Law
On 06/15/2018 08:28 AM, Martin Liška wrote: > On 06/15/2018 07:08 AM, Alexander Monakov wrote: >> On Tue, 12 Jun 2018, Martin Liška wrote: >> >>> This is equivalent of gimple.vim file. I'm aware of not full coverage of RTL >>> instructions, but hope it's a good start point. >> >> I think this is ni

Re: [PATCH] Add initial version of rtl.vim syntax file.

2018-06-15 Thread Martin Liška
On 06/15/2018 06:18 PM, Alexander Monakov wrote: On Fri, 15 Jun 2018, Martin Liška wrote: So you prefer to come up with a plugin folder with the *.vim files? Yes, the main reason being very simple installation if already using a plugin manager. A plugin folder may contain a custom ftdetect/foo

Re: [PATCH] Add initial version of rtl.vim syntax file.

2018-06-15 Thread Alexander Monakov
On Fri, 15 Jun 2018, Martin Liška wrote: > So you prefer to come up with a plugin folder with the *.vim files? Yes, the main reason being very simple installation if already using a plugin manager. A plugin folder may contain a custom ftdetect/foo.vim, so there's no need to edit .vimrc by hand. I

Re: [PATCH] Add initial version of rtl.vim syntax file.

2018-06-15 Thread Martin Liška
On 06/15/2018 07:08 AM, Alexander Monakov wrote: > On Tue, 12 Jun 2018, Martin Liška wrote: > >> This is equivalent of gimple.vim file. I'm aware of not full coverage of RTL >> instructions, but hope it's a good start point. > > I think this is nice to have and hope you'll get an OK for both this

Re: [PATCH] Add initial version of rtl.vim syntax file.

2018-06-14 Thread Alexander Monakov
On Tue, 12 Jun 2018, Martin Liška wrote: > This is equivalent of gimple.vim file. I'm aware of not full coverage of RTL > instructions, but hope it's a good start point. I think this is nice to have and hope you'll get an OK for both this and the gimple.vim patch. One nit-pick: unlike "GIMPLE",

[PATCH] Add initial version of rtl.vim syntax file.

2018-06-12 Thread Martin Liška
Hi. This is equivalent of gimple.vim file. I'm aware of not full coverage of RTL instructions, but hope it's a good start point. Screenshots: https://drive.google.com/open?id=14y-Hca2hf1gyWDfHaht6Wjv-Btf3Bdvl https://drive.google.com/open?id=1LiqsJq2ng-aeKsvw3PhUnDjLWh54Y1Vc Ready for trunk? Th