diff options
| author | Ahmed Abdelhalim <[email protected]> | 2022-09-14 17:46:05 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2022-09-14 17:48:57 +0200 |
| commit | 3917c1f430429672d1d371b117b9d010d098050e (patch) | |
| tree | 15ca0b6deae880b63f962ec2dfebd5299e0b6e1e /.vimrc | |
| parent | 88f317cd76067196da72e94f451cee6a5f74563b (diff) | |
Add spell check and completion for markdown files too
Diffstat (limited to '.vimrc')
| -rw-r--r-- | .vimrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -155,9 +155,8 @@ autocmd BufNewFile,BufRead *.html.erb set filetype=html " for ruby erb tem autocmd BufNewFile,BufRead *.json.jbuilder set filetype=ruby " for ruby json template files autocmd BufNewFile,BufRead,BufReadPost *.tsx set syntax=javascript " better tsx highlighting than polyglot defaults autocmd BufNewFile,BufRead *.yaml.gotmpl set filetype=yaml " for highlighting YAML go templates as yaml files -" autocmd FileType markdown setlocal spell " spell check markdown files -autocmd FileType gitcommit setlocal spell " spell check commits -autocmd FileType gitcommit set complete+=spell " spell complete with CTRL+N/CTRL+P +autocmd FileType gitcommit,markdown setlocal spell " spell check commits and markdown files +autocmd FileType gitcommit,markdown set complete+=spell " spell complete with CTRL+N/CTRL+P autocmd FileType ruby setlocal nospell " disable spell checking for ruby documentation """""""""""""""""""""""""""""""""""""""""""""""""""""""""""" |
