You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bundle 'jQuery' # https://github.com/vim-scripts/jQuery
Bundle 'scrooloose/nerdtree' # https://github.com/scrooloose/nerdtree
Bundle 'git://git.wincent.com/command-t.git' # Full URL to the repo to clone
Don't allow putting them in comments anymore like this:
" Bundle: jQuery # https://github.com/vim-scripts/jQuery
" Bundle: scrooloose/nerdtree # https://github.com/scrooloose/nerdtree
" Bundle: git://git.wincent.com/command-t.git # Full URL to the repo to clone
Supporting both is too confusing.
The text was updated successfully, but these errors were encountered:
So I understand two formats is confusing but I'm trying to understand why the non commented version is better. I realize it's the syntax for some other plugin but what if you never use this other plugin? Do you have to place some hack in your vimrc to prevent a syntax error on the word "Bundle"? I think having this in a comment is more appropriate.
Have you considered using the Bundle '*' approach with an optional comment? This would allow only one regex and one syntax but allow those who don't use the hack to just comment the line with '"'
" Bundle 'foo' #bar
Bundle 'foo' #bar
match /Bundle\s+'\(.*\)'/i <-- Works with *both* forms and needs only _one_ parsing algorythm.
Only support this style of directive:
Don't allow putting them in comments anymore like this:
Supporting both is too confusing.
The text was updated successfully, but these errors were encountered: