diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-13 14:13:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-13 14:13:14 +1200 |
commit | bc7d1987d389d3a7870e620ecba25970fac437e2 (patch) | |
tree | d3946ad630216b15df93ca671d0401fa35065c69 /vim/vimrc | |
parent | Merge branch 'release/v5.44.0' into develop (diff) | |
download | dotfiles-bc7d1987d389d3a7870e620ecba25970fac437e2.tar.gz dotfiles-bc7d1987d389d3a7870e620ecba25970fac437e2.zip |
Add version number tag reference links to vimrc
Diffstat (limited to 'vim/vimrc')
-rw-r--r-- | vim/vimrc | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -135,6 +135,8 @@ endif " It should rename the buffer as "foo bar aaz"; note the change in the first " letter of the last word of the filename. " +" <https://github.com/vim/vim/releases/tag/v7.1.055> +" if $MYVIM =~# '\\' \ && (v:version < 701 || v:version == 701 && !has('patch55')) echoerr 'Illegal backslash in user runtime path on Vim < v7.1.055' @@ -209,6 +211,8 @@ augroup vimrc " invocations of :source of either vimrc file, and translate that into " reloading the stub vimrc. " + " <https://github.com/vim/vim/releases/tag/v7.0.187> + " if exists('##SourceCmd') autocmd SourceCmd $MYVIMRC,$MYVIM/vimrc \ ReloadVimrc @@ -235,6 +239,8 @@ augroup END " with restrictive permissions, too. Who knows what secrets are in your file " buffers? " +" <https://github.com/vim/vim/releases/tag/v8.0.1708> +" function! s:Establish(path) abort let path = expand(a:path) if !isdirectory(path) && exists('*mkdir') @@ -274,6 +280,8 @@ Establish $MYVIM " Vim v8.1.716 introduced a nicer way to set this with an option named " 'viminfofile', which is too new for us to use just yet. " +" <https://github.com/vim/vim/releases/tag/v8.1.0716> +" Establish $MYVIM/cache set viminfo+=n$MYVIM/cache/viminfo @@ -314,6 +322,8 @@ set backup " value in older versions of Vim where they don't do anything, so we'll check " the version ourselves to see if there's any point in including them. " +" <https://github.com/vim/vim/releases/tag/v8.1.0251> +" " It's all so awkward. Surely separate options named something like " 'backupfullname', 'swapfilefullname' would have been clearer. " @@ -482,6 +492,8 @@ set shiftwidth=4 " Indent command like < and > use four-space indents " Vim is new enough to support it (v7.3.693), apply a negative value to do " this dynamically if 'shiftwidth' changes. " +" <https://github.com/vim/vim/releases/tag/v7.3.693> +" if v:version > 730 || v:version == 730 && has('patch693') set softtabstop=-1 else @@ -532,6 +544,8 @@ endif " The 'breakindent' option wasn't added until v7.4.338, so we need to check it " exists before we set it. " +" <https://github.com/vim/vim/releases/tag/v7.4.338> +" if exists('+breakindent') set breakindent endif @@ -606,6 +620,8 @@ set formatoptions+=1 " suppress errors for this sort of thing when I can reasonably avoid it, even " if the tests are somewhat more verbose. " +" <https://github.com/vim/vim/releases/tag/v7.3.541> +" if v:version > 730 || v:version == 730 && has('patch541') set formatoptions+=j endif @@ -644,7 +660,7 @@ set cpoptions+=J " does. I wrote the patch that added it, after becoming envious of an " analogous feature during an ill-fated foray into GNU Emacs usage. " -" <https://github.com/vim/vim/commit/c3c3158> +" <https://github.com/vim/vim/releases/tag/v8.1.1523> " if has('patch-8.1.728') set formatoptions+=p @@ -911,6 +927,8 @@ set wildignore=*~,#*#,*.7z,.DS_Store,.git,.hg,.svn,*.a,*.adf,*.asc,*.au,*.aup " The option wasn't added until v7.3.72, so we need to check it exists before " we try to set it. " +" <https://github.com/vim/vim/releases/tag/v7.3.072> +" if exists('+wildignorecase') set wildignorecase endif |