vim: Disable 'cindent' in non-code filetypes
This commit is contained in:
@@ -3,6 +3,9 @@ setlocal colorcolumn+=51
|
|||||||
setlocal textwidth=72
|
setlocal textwidth=72
|
||||||
" Spell checking always enabled
|
" Spell checking always enabled
|
||||||
setlocal spell spelllang=en
|
setlocal spell spelllang=en
|
||||||
|
" Disable C-indentation as it messes up formatting of paragraphs containing
|
||||||
|
" parentheses
|
||||||
|
setlocal nocindent
|
||||||
|
|
||||||
" Disable gutentags as it seems to regenerate the entire tags file when editing
|
" Disable gutentags as it seems to regenerate the entire tags file when editing
|
||||||
" git-commits...
|
" git-commits...
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
" Turn on line-wrapping
|
" Turn on line-wrapping
|
||||||
setlocal wrap
|
setlocal wrap
|
||||||
|
" Disable C-indentation as it messes up formatting of paragraphs containing
|
||||||
|
" parentheses
|
||||||
|
setlocal nocindent
|
||||||
|
|
||||||
" Fold by sections
|
" Fold by sections
|
||||||
function! MdSectionFold()
|
function! MdSectionFold()
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
" Turn on line-wrapping
|
" Turn on line-wrapping
|
||||||
setlocal wrap
|
setlocal wrap
|
||||||
|
" Disable C-indentation as it messes up formatting of paragraphs containing
|
||||||
|
" parentheses
|
||||||
|
setlocal nocindent
|
||||||
|
|
||||||
" Close the quickfix window after a cursor movement
|
" Close the quickfix window after a cursor movement
|
||||||
let g:vimtex_quickfix_autoclose_after_keystrokes = 1
|
let g:vimtex_quickfix_autoclose_after_keystrokes = 1
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
" Disable C-indentation as it messes up formatting of paragraphs containing
|
||||||
|
" parentheses
|
||||||
|
setlocal nocindent
|
||||||
|
|
||||||
" Don't highlight Unicode table separator (e.g. vertical box drawing character).
|
" Don't highlight Unicode table separator (e.g. vertical box drawing character).
|
||||||
" See vimrc.d/looks.vim for w:ignore_non_ascii_chars
|
" See vimrc.d/looks.vim for w:ignore_non_ascii_chars
|
||||||
if vimwiki#vars#get_syntaxlocal('rxTableSep') !~ '[\d0-\d127]'
|
if vimwiki#vars#get_syntaxlocal('rxTableSep') !~ '[\d0-\d127]'
|
||||||
|
|||||||
Reference in New Issue
Block a user