mirror of
https://github.com/prurigro/darkcloud-nvimconfig.git
synced 2024-11-21 19:32:31 -05:00
Don't rotate vimdiff panes, and move the vim_json_syntax_conceal to a config file attached to the plugin it affects
This commit is contained in:
parent
2767369c51
commit
c4202e4821
2 changed files with 3 additions and 5 deletions
|
@ -26,13 +26,10 @@ autocmd FileChangedRO * nested set noreadonly
|
|||
"enable more accurate syntax synchronization
|
||||
autocmd BufEnter * :syntax sync fromstart
|
||||
|
||||
"don't conceal json syntax
|
||||
let g:vim_json_syntax_conceal = 0
|
||||
|
||||
"disable automatic line breaks
|
||||
autocmd VimEnter * set textwidth=0
|
||||
|
||||
"set given filenames to various filetypes
|
||||
"set filetypes for various file extensions
|
||||
autocmd BufNewFile,BufRead *.aspx,*.asmx,*.ascx,*.master setlocal ft=aspnet
|
||||
autocmd BufNewFile,BufRead *.gradle setlocal ft=groovy
|
||||
autocmd BufNewFile,BufRead *eslintrc setlocal ft=json
|
||||
|
@ -58,7 +55,6 @@ autocmd FileChangedRO * nested set noreadonly
|
|||
|
||||
"settings for buffers in diff mode
|
||||
autocmd VimEnter,FilterWritePre * if &diff|setlocal nofoldenable|endif
|
||||
autocmd VimEnter * if &diff|wincmd H|endif
|
||||
|
||||
"disable the whitespace plugin for mail
|
||||
autocmd BufEnter,FileType mail hi ExtraWhitespace ctermbg=NONE guibg=NONE
|
||||
|
|
2
vim/config/plugins/vim-polyglot-darkcloud.vim
Normal file
2
vim/config/plugins/vim-polyglot-darkcloud.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
"don't conceal json syntax
|
||||
let g:vim_json_syntax_conceal = 0
|
Loading…
Reference in a new issue