Skip to content

Commit 52a9a47

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 957beda + 43d1ac6 commit 52a9a47

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

runtime/defaults.vim

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" The default vimrc file.
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last change: 2017 Apr 01
4+
" Last change: 2017 Apr 12
55
"
66
" This is loaded if no vimrc file was found.
77
" Except when Vim is run with "-u NONE" or "-C".
@@ -28,13 +28,9 @@ endif
2828

2929
" When the +eval feature is missing, the set command above will be skipped.
3030
" Use a trick to reset compatible only when the +eval feature is missing.
31-
if 1
32-
nnoremap : :"
33-
endif
34-
silent normal :set nocompatible
35-
if 1
36-
nunmap :
37-
endif
31+
silent! while 0
32+
set nocompatible
33+
silent! endwhile
3834

3935
" Allow backspacing over everything in insert mode.
4036
set backspace=indent,eol,start

runtime/filetype.vim

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2017 Mar 27
4+
" Last Change: 2017 Apr 15
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")
@@ -310,9 +310,10 @@ au BufNewFile,BufRead *.bl setf blank
310310
au BufNewFile,BufRead */etc/blkid.tab,*/etc/blkid.tab.old setf xml
311311

312312
" Bazel (http://bazel.io)
313-
autocmd BufRead,BufNewFile *.bzl,WORKSPACE setfiletype bzl
313+
autocmd BufRead,BufNewFile *.bzl,WORKSPACE setf bzl
314314
if has("fname_case")
315-
autocmd BufRead,BufNewFile BUILD setfiletype bzl
315+
" There is another check for BUILD further below.
316+
autocmd BufRead,BufNewFile BUILD setf bzl
316317
endif
317318

318319
" C or lpc
@@ -2602,6 +2603,11 @@ au BufNewFile,BufRead *asterisk*/*voicemail.conf* call s:StarSetf('asteriskvm')
26022603
" Bazaar version control
26032604
au BufNewFile,BufRead bzr_log.* setf bzr
26042605

2606+
" Bazel build file
2607+
if !has("fname_case")
2608+
au BufNewFile,BufRead BUILD setf bzl
2609+
endif
2610+
26052611
" BIND zone
26062612
au BufNewFile,BufRead */named/db.*,*/bind/db.* call s:StarSetf('bindzone')
26072613

src/quickfix.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2750,6 +2750,7 @@ qf_free(qf_info_T *qi, int idx)
27502750
vim_free(qi->qf_lists[idx].qf_title);
27512751
qi->qf_lists[idx].qf_title = NULL;
27522752
qi->qf_lists[idx].qf_index = 0;
2753+
qi->qf_lists[idx].qf_last = NULL;
27532754

27542755
qf_clean_dir_stack(&qi->qf_dir_stack);
27552756
qi->qf_directory = NULL;

src/version.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,12 @@ static char *(features[]) =
779779

780780
static int included_patches[] =
781781
{ /* Add new patch number below this line */
782+
/**/
783+
566,
784+
/**/
785+
565,
786+
/**/
787+
564,
782788
/**/
783789
563,
784790
/**/

0 commit comments

Comments
 (0)