diff options
Diffstat (limited to 'vim/.vim/ftplugin/drowmark.vim')
-rw-r--r-- | vim/.vim/ftplugin/drowmark.vim | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/vim/.vim/ftplugin/drowmark.vim b/vim/.vim/ftplugin/drowmark.vim deleted file mode 100644 index be65689..0000000 --- a/vim/.vim/ftplugin/drowmark.vim +++ /dev/null @@ -1,27 +0,0 @@ -" Spellcheck in markdown (automatic to english) -setlocal spelllang=es -setlocal spell - -" Textwidth for automatic wrap `gq` is formatting operation -setlocal textwidth=79 -setlocal formatoptions+=t -setlocal formatoptions-=l - - -" Highlight where the lines are more than 80 characters wide -setlocal colorcolumn=80 -highlight ColorColumn ctermbg=LightGreen - -" Auto-capitalize script -augroup SENTENCES - au! - 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 |