mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-09 15:06:38 -05:00
Remove some filetype-specific settings for overly custom filetypes (those should be configured in the user's config), and remove the textwidth override setting it to 0 for the mail filetype
This commit is contained in:
parent
cf0a092643
commit
9e436cef9d
1 changed files with 2 additions and 3 deletions
|
@ -46,8 +46,8 @@ autocmd FileChangedRO * nested set noreadonly
|
|||
|
||||
"filtype specific settings
|
||||
autocmd BufEnter,FileType sh setlocal iskeyword-=.
|
||||
autocmd Filetype text,markdown,mkdc,gitcommit,notes,mail,notmuch,rst,taskreport setlocal nonumber spell nolist linebreak tabstop=2 shiftwidth=2 breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing
|
||||
autocmd Filetype text,gitcommit,notes,mail,notmuch,rst,taskreport setlocal wrap
|
||||
autocmd Filetype text,markdown,gitcommit,mail setlocal nonumber spell nolist linebreak tabstop=2 shiftwidth=2 breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "set some defaults for word processing
|
||||
autocmd Filetype text,gitcommit,mail setlocal wrap
|
||||
autocmd FileType tmux,taskrc setlocal commentstring=#\ %s "set the comment string to #
|
||||
autocmd FileType slrnrc setlocal commentstring=%%\ %s "set the comment string to %
|
||||
|
||||
|
@ -65,5 +65,4 @@ autocmd FileChangedRO * nested set noreadonly
|
|||
|
||||
"disable the whitespace plugin for vimfiler
|
||||
autocmd BufEnter,FileType vimfiler,mail hi ExtraWhitespace ctermbg=NONE guibg=NONE
|
||||
autocmd BufEnter,FileType mail set textwidth=0
|
||||
"}}}
|
||||
|
|
Loading…
Reference in a new issue