On Friday, July 15, 2016 at 5:12:23 AM UTC-5, LCD 47 wrote: > Is there any particular reason for not including colons ":" in > &iskeyword for VimL? > > The current default makes it impossible to jump to definitions of > file-scoped functions and variables. Common ctags implementations > produce tags like this: > > s:diff_ms autoload/peekaboo.vim /^function! s:diff_ms(since)$/;" > f > s:peekaboo autoload/peekaboo.vim /^let s:peekaboo = 0$/;" v > > But these tag can't be "seen" by Ctrl-t because &iskeyword doesn't > include ":". >
Probably because Vim supports the ternary operator similar to C/C++, and also it's used in substrings and literal dictionary definitions. See :help expression-syntax. There may be other reasons but those are the ones I could think of quickly. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
