nvim: we are using a recent vim now, yes

This commit is contained in:
Motiejus Jakštys 2023-10-09 17:20:12 +03:00
parent 50f63458ab
commit 69aaa337bf

View File

@ -2,7 +2,7 @@ syntax on
filetype plugin indent on filetype plugin indent on
set et ts=4 sw=4 sts=4 nu hlsearch ruler ignorecase smartcase nomodeline bg=dark incsearch set et ts=4 sw=4 sts=4 nu hlsearch ruler ignorecase smartcase nomodeline bg=dark incsearch
set path=**/* grepprg=rg\ --vimgrep grepformat^=%f:%l:%c:%m backspace=2 nojs set path=**/* grepprg=rg\ --vimgrep grepformat^=%f:%l:%c:%m backspace=2 nojs
set laststatus=1 set laststatus=1 diffopt+=algorithm:patience
nnoremap <Leader>\ gqj nnoremap <Leader>\ gqj
command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR> command OLD :enew | setl buftype=nofile | 0put =v:oldfiles | nnoremap <buffer> <CR> :e <C-r>=getline('.')<CR><CR>
@ -24,10 +24,6 @@ if &diff
syntax off syntax off
endif endif
if has("patch-8.1-0360")
set diffopt+=algorithm:patience
endif
" html " html
au FileType html,gohtmltmpl setlocal ts=2 sw=2 sts=2 au FileType html,gohtmltmpl setlocal ts=2 sw=2 sts=2