Skip to content

Commit

Permalink
nospell by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Soares committed Jan 21, 2024
1 parent 9baa8cb commit dbaaf2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoload/write.vim
@@ -1,7 +1,7 @@
" Sets the buffer as writer-friendly. " Sets the buffer as writer-friendly.
" @param {string} bang Whether or not to force full writing mode. " @param {string} bang Whether or not to force full writing mode.
function! write#start(bang) function! write#start(bang)
setlocal spell wrap display+=lastline nolist linebreak setlocal wrap display+=lastline nolist linebreak
if !empty(a:bang) || &tw == 0 if !empty(a:bang) || &tw == 0
setlocal tw=0 nonu nornu setlocal tw=0 nonu nornu
let b:writing=2 let b:writing=2
Expand All @@ -22,7 +22,7 @@ function! write#stop()
endif endif
setlocal nonu< nornu< setlocal nonu< nornu<
endif endif
setlocal spell< wrap< display< list< linebreak< setlocal wrap< display< list< linebreak<
let b:writing=0 let b:writing=0
silent! unmap <buffer> k silent! unmap <buffer> k
silent! unmap <buffer> j silent! unmap <buffer> j
Expand Down

0 comments on commit dbaaf2b

Please sign in to comment.