mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 11:30:29 +01:00
Plug upgrade
This commit is contained in:
@@ -225,6 +225,7 @@ function! plug#end()
|
|||||||
endif
|
endif
|
||||||
call add(s:triggers[name].map, cmd)
|
call add(s:triggers[name].map, cmd)
|
||||||
elseif cmd =~# '^[A-Z]'
|
elseif cmd =~# '^[A-Z]'
|
||||||
|
let cmd = substitute(cmd, '!*$', '', '')
|
||||||
if exists(':'.cmd) != 2
|
if exists(':'.cmd) != 2
|
||||||
call s:assoc(lod.cmd, cmd, name)
|
call s:assoc(lod.cmd, cmd, name)
|
||||||
endif
|
endif
|
||||||
@@ -750,7 +751,7 @@ function! s:prepare(...)
|
|||||||
for k in ['<cr>', 'L', 'o', 'X', 'd', 'dd']
|
for k in ['<cr>', 'L', 'o', 'X', 'd', 'dd']
|
||||||
execute 'silent! unmap <buffer>' k
|
execute 'silent! unmap <buffer>' k
|
||||||
endfor
|
endfor
|
||||||
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable
|
setlocal buftype=nofile bufhidden=wipe nobuflisted nolist noswapfile nowrap cursorline modifiable nospell
|
||||||
setf vim-plug
|
setf vim-plug
|
||||||
if exists('g:syntax_on')
|
if exists('g:syntax_on')
|
||||||
call s:syntax()
|
call s:syntax()
|
||||||
|
|||||||
Reference in New Issue
Block a user