On Mon, Nov 18, 2013 at 08:06:41PM +0200, Aryeh Leib Taurog wrote:
> I do think this warrants an option, so I've made an attempt to
> implement one. This is my first time poking around in vim's
> innards. I'd love to get some feedback. Did I do this right?
Well I left the tags out of the documentation. Also it looks like the
vim.vim syntax file needs updating as well. Here's a second patch:
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -5581,6 +5581,7 @@
that is not supported the pattern will not match. This is only useful
for debugging the regexp engine.
+ *'regone'* *'rgo'*
'regone' 'rgo' boolean (default off)
global
{not in Vi}
diff --git a/runtime/syntax/vim.vim b/runtime/syntax/vim.vim
--- a/runtime/syntax/vim.vim
+++ b/runtime/syntax/vim.vim
@@ -35,4 +35,4 @@
syn keyword vimOption contained allowrevins arab autoread backup
balloonexpr bh bl bsk cc ch cino cmp com concealcursor cp cscopeprg csprg cul
def diff display edcompatible endofline errorformat fcl fdm fex filetype fo
foldlevelstart formatexpr ft gfw gtt guipty hh hkmap ic imc imsearch indentkeys
isf isprint km lbr list lsp makeprg maxmem mh mmp more mouses mzq nuw opfunc
patchexpr pfn popt printfont pumheight redrawtime rightleft rtp sbo scrolljump
sel shell shelltype shortname shq sm so spellfile spr st sts swapsync syn tag
tb termbidi tgst titleold top ttimeout ttym uc undolevels vb vfile visualbell
wc wh wildcharm wim winminheight wmh wrapscan ww
-syn keyword vimOption contained altkeymap arabic autowrite backupcopy
bdir bin bomb bt ccv charconvert cinoptions cms comments conceallevel cpo
cscopequickfix csqf cursorbind define diffexpr dy ef eol esckeys fcs fdn ff
fillchars foldclose foldmarker formatlistpat gcr ghr guicursor guitablabel hi
hkmapp icon imcmdline inc indk isfname joinspaces kmp lcs listchars lw mat
maxmempattern mis mmt mouse mouseshape mzquantum odev osfiletype patchmode ph
preserveindent printheader pvh relativenumber rightleftcmd ru sbr scrolloff
selection shellcmdflag shellxescape showbreak si smartcase softtabstop
spelllang sps sta su swb synmaxcol tagbsearch tbi termencoding thesaurus
titlestring
+syn keyword vimOption contained altkeymap arabic autowrite backupcopy
bdir bin bomb bt ccv charconvert cinoptions cms comments conceallevel cpo
cscopequickfix csqf cursorbind define diffexpr dy ef eol esckeys fcs fdn ff
fillchars foldclose foldmarker formatlistpat gcr ghr guicursor guitablabel hi
hkmapp icon imcmdline inc indk isfname joinspaces kmp lcs listchars lw mat
maxmempattern mis mmt mouse mouseshape mzquantum odev osfiletype patchmode ph
preserveindent printheader pvh regone rgo relativenumber rightleftcmd ru sbr
scrolloff selection shellcmdflag shellxescape showbreak si smartcase
softtabstop spelllang sps sta su swb synmaxcol tagbsearch tbi termencoding
thesaurus titlestring
" vimOptions: These are the turn-off setting variants {{{2
--
--
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/groups/opt_out.