mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
do not enable spellcheck by default
This commit is contained in:
@@ -40,7 +40,6 @@ set report=0
|
|||||||
set showcmd
|
set showcmd
|
||||||
set showmatch
|
set showmatch
|
||||||
|
|
||||||
set spell
|
|
||||||
set spellcapcheck=
|
set spellcapcheck=
|
||||||
set complete+=kspell
|
set complete+=kspell
|
||||||
|
|
||||||
@@ -293,19 +292,20 @@ augroup END
|
|||||||
"" txt, mail, tex
|
"" txt, mail, tex
|
||||||
augroup text
|
augroup text
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType text,markdown,mail,tex set wrap wm=2 nocindent spell
|
autocmd FileType text,markdown,mail,tex set wrap wm=2 nocindent spell textwidth=79 colorcolumn=80
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
augroup markdown
|
augroup markdown
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType markdown set wrap wm=2 nocindent spell
|
autocmd FileType markdown set wrap wm=2 nocindent spell textwidth=79 colorcolumn=80
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
"" JavaScript
|
"" Web
|
||||||
augroup web
|
augroup web
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd FileType javascript map <leader>r <esc>:TernRename<CR>
|
autocmd FileType javascript map <leader>r <esc>:TernRename<CR>
|
||||||
autocmd BufRead,BufNewFile *.template set filetype=html.mustache syntax=mustache
|
autocmd BufRead,BufNewFile *.template set filetype=html.mustache syntax=mustache
|
||||||
|
autocmd BufRead,BufNewFile *.html set spell
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
"" Help
|
"" Help
|
||||||
|
|||||||
Reference in New Issue
Block a user