Hi Tony! On Di, 27 Okt 2015, Tony Mechelynck wrote:
> What about using the already existing commands below (assuming Vim > version 6.2 or later)? > > let s:save_isk = &l:isk > try > setl isk&vim " or to whatever value is desired > … > … > … > finally > let &l:isk = s:save_isk > endtry > > IMHO authors who won't bother saving and restoring the option won't > use your new command either, especially since it will have to be > bracketed by if exists() in all third-party syntax scripts, to guard > against the possibility of running on a Vim compiled without the > patch. That does not work, as the isk setting is applied at runtime. Best, Christian -- Ist Weltfrieden ohne religiöse Abrüstung überhaupt möglich? -- M.S. Salomon (eigentl. Michael Schmidt-Salomon) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.