mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Improve comments in the after config
This commit is contained in:
parent
d9f5aba9b7
commit
facbd15523
1 changed files with 8 additions and 4 deletions
|
@ -37,11 +37,15 @@ autocmd FileChangedRO * nested set noreadonly
|
||||||
autocmd BufNewFile,BufRead *.neomuttrc setlocal ft=neomuttrc
|
autocmd BufNewFile,BufRead *.neomuttrc setlocal ft=neomuttrc
|
||||||
autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf
|
autocmd BufNewFile,BufRead *pacman.conf setlocal ft=conf
|
||||||
|
|
||||||
"filtype specific settings
|
"word processing
|
||||||
|
autocmd Filetype markdown,text,gitcommit,mail setlocal nonumber spell tabstop=2 shiftwidth=2 "defaults
|
||||||
|
autocmd Filetype text,gitcommit,mail setlocal wrap nolist textwidth=80 linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "text wrapping
|
||||||
|
|
||||||
|
"comment string
|
||||||
|
autocmd FileType tmux setlocal commentstring=#\ %s
|
||||||
|
|
||||||
|
"iskeyword
|
||||||
autocmd BufEnter,FileType sh setlocal iskeyword-=.
|
autocmd BufEnter,FileType sh setlocal iskeyword-=.
|
||||||
autocmd Filetype markdown,text,gitcommit,mail setlocal nonumber spell tabstop=2 shiftwidth=2 "word processing defaults
|
|
||||||
autocmd Filetype text,gitcommit,mail setlocal wrap nolist textwidth=80 linebreak breakat&vim breakat-=* breakat-=. breakat-=/ breakat-=? breakat-=, breakat-=: breakat-=; breakat-=! "configure text wrapping for applicable filetypes
|
|
||||||
autocmd FileType tmux setlocal commentstring=#\ %s "set the comment string to #
|
|
||||||
autocmd FileType scss setlocal iskeyword+=$
|
autocmd FileType scss setlocal iskeyword+=$
|
||||||
autocmd Filetype markdown setlocal iskeyword+=-
|
autocmd Filetype markdown setlocal iskeyword+=-
|
||||||
autocmd FileType javascript setlocal iskeyword+=- iskeyword+=.
|
autocmd FileType javascript setlocal iskeyword+=- iskeyword+=.
|
||||||
|
|
Loading…
Reference in a new issue