diff options
author | ZyX <kp-pav@yandex.ru> | 2017-05-20 05:02:03 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-05-20 05:02:03 +0300 |
commit | e14f678689c172e0307546dfae2358e76c54fec4 (patch) | |
tree | ab3b823447ce3e3bba48bbc797a821dc24e09979 /src/nvim/options.lua | |
parent | a052040430a3272e50975f7797839dde005b3be4 (diff) | |
download | rneovim-e14f678689c172e0307546dfae2358e76c54fec4.tar.gz rneovim-e14f678689c172e0307546dfae2358e76c54fec4.tar.bz2 rneovim-e14f678689c172e0307546dfae2358e76c54fec4.zip |
options: Silence V542 without using comments
Diffstat (limited to 'src/nvim/options.lua')
-rw-r--r-- | src/nvim/options.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 6ad0501f0a..c2778a6329 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -34,6 +34,11 @@ local macros=function(s) return s end end +local imacros=function(s) + return function() + return '(intptr_t)' .. s + end +end local N_=function(s) return function() return 'N_(' .. cstr(s) .. ')' @@ -2648,7 +2653,7 @@ return { type='number', scope={'global'}, vim=true, varname='p_wc', - defaults={if_true={vi=macros('Ctrl_E'), vim=macros('TAB')}} + defaults={if_true={vi=imacros('Ctrl_E'), vim=imacros('TAB')}} }, { full_name='wildcharm', abbreviation='wcm', |