summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nvim/nvim/ftplugin/drowmark.vim4
-rw-r--r--nvim/nvim/ftplugin/markdown.vim4
-rw-r--r--nvim/nvim/init.vim6
3 files changed, 6 insertions, 8 deletions
diff --git a/nvim/nvim/ftplugin/drowmark.vim b/nvim/nvim/ftplugin/drowmark.vim
index b4e4a0b..cd69f30 100644
--- a/nvim/nvim/ftplugin/drowmark.vim
+++ b/nvim/nvim/ftplugin/drowmark.vim
@@ -14,10 +14,6 @@ augroup SENTENCES
autocmd InsertCharPre * if &ft=='drowmark' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif
augroup END
-" Highlight spelling errors in red and underline
-hi clear SpellBad
-hi SpellBad cterm=underline ctermfg=Red
-
" Tabs to 2 spaces
set tabstop=2 softtabstop=0 expandtab shiftwidth=2
set autoindent
diff --git a/nvim/nvim/ftplugin/markdown.vim b/nvim/nvim/ftplugin/markdown.vim
index b85b977..5512cee 100644
--- a/nvim/nvim/ftplugin/markdown.vim
+++ b/nvim/nvim/ftplugin/markdown.vim
@@ -10,10 +10,6 @@ augroup SENTENCES
autocmd InsertCharPre * if &ft=='markdown' | if search('\v(%^|[.!?]\_s+|\_^\-\s|\_^title\:\s|\n\n)%#', 'bcnw') != 0 | let v:char = toupper(v:char) | endif | endif
augroup END
-" Highlight spelling errors in red and underline
-hi clear SpellBad
-hi SpellBad cterm=underline ctermfg=Red guifg=Red gui=underline
-
" Tabs to 2 spaces
set tabstop=2 softtabstop=0 expandtab shiftwidth=2
set autoindent
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 3cee3d7..c4fb4ec 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -85,6 +85,12 @@ nnoremap <CR> :noh<CR><CR>
set ignorecase
set smartcase
+" SPELLING
+
+" Highlight spelling errors in red and underline
+hi clear SpellBad
+hi SpellBad cterm=underline ctermfg=Red guifg=Red gui=underline
+
" TEXT WIDTH