Gary Johnson to Anton Shepelev: > > How can one prepend a Vim string option? > > [...] > > Here are a couple of ways to do that. > > :execute 'set formatlistpat=' . 'patternprefix' . &formatlistpat > > :let &formatlist = 'patternprefix' . &formatlist > > where patternprefix is the string you wish to prepend to > 'formatlistpat'. > [...]
Thank you very much, Gary. Time for me to learn Vimscript. -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200818132236.32431a74f762afd7bcd4e614%40gmail.com.
