nvim: after/ftplugin: Disable spell check for certain file types
Now that we enable spell check globally disable it for certain file and buffer types like dirvish etc.
This commit is contained in:
parent
7113f5f44d
commit
36e7845aa4
3 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
setlocal nospell
|
||||
|
||||
" Jump to sections of diff
|
||||
nnoremap <buffer> [c ?^@@<CR>
|
||||
nnoremap <buffer> ]c /^@@<CR>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
setlocal bufhidden=hide
|
||||
setlocal nospell
|
||||
|
||||
nnoremap <buffer> <silent> yy "+yy<C-^>
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
setlocal nospell
|
||||
|
||||
nnoremap <buffer> <silent>q :bwipeout!<CR>
|
||||
|
||||
nnoremap <buffer> <Leader>gb :call git#git_branch_checkout()<CR>
|
||||
|
|
Loading…
Reference in a new issue