Re: [patch] Add optiontype function

2016-04-13 Fir de Conversatie Anton Lindqvist
On Sun, Mar 27, 2016 at 06:11:10PM +0200, Anton Lindqvist wrote: > On Sat, Mar 26, 2016 at 04:52:47PM +0100, Bram Moolenaar wrote: > > > > Anton Lindqvist wrote: > > > > > > > Hi, > > > > > This patch adds a function with the declaration optiontype({option}) > > > > > which returns the type of th

Re: [patch] Add optiontype function

2016-03-27 Fir de Conversatie Anton Lindqvist
On Sat, Mar 26, 2016 at 04:52:47PM +0100, Bram Moolenaar wrote: > > Anton Lindqvist wrote: > > > > > Hi, > > > > This patch adds a function with the declaration optiontype({option}) > > > > which returns the type of the given option. I'm currently using it to > > > > achieve the following option

Re: [patch] Add optiontype function

2016-03-26 Fir de Conversatie Bram Moolenaar
Anton Lindqvist wrote: > > > Hi, > > > This patch adds a function with the declaration optiontype({option}) > > > which returns the type of the given option. I'm currently using it to > > > achieve the following option toggle mapping: > > > > > > " :NMapChangeOption[!] {letter} {option} [enabl

Re: [patch] Add optiontype function

2016-03-26 Fir de Conversatie Anton Lindqvist
Bram, On Thu, Mar 24, 2016 at 06:44:39PM +0100, Bram Moolenaar wrote: > > Anton Lindqvist wrote: > > > Hi, > > This patch adds a function with the declaration optiontype({option}) > > which returns the type of the given option. I'm currently using it to > > achieve the following option toggle ma

Re: [patch] Add optiontype function

2016-03-24 Fir de Conversatie Bram Moolenaar
Anton Lindqvist wrote: > Hi, > This patch adds a function with the declaration optiontype({option}) > which returns the type of the given option. I'm currently using it to > achieve the following option toggle mapping: > > " :NMapChangeOption[!] {letter} {option} [enable] > " > " Create a

[patch] Add optiontype function

2016-03-24 Fir de Conversatie Anton Lindqvist
Hi, This patch adds a function with the declaration optiontype({option}) which returns the type of the given option. I'm currently using it to achieve the following option toggle mapping: " :NMapChangeOption[!] {letter} {option} [enable] " " Create a normal mode option toggle mapping for {op