vim: Disable 'cindent' in non-code filetypes
This commit is contained in:
@@ -3,6 +3,9 @@ setlocal colorcolumn+=51
|
||||
setlocal textwidth=72
|
||||
" Spell checking always enabled
|
||||
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
|
||||
" git-commits...
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
" Turn on line-wrapping
|
||||
setlocal wrap
|
||||
" Disable C-indentation as it messes up formatting of paragraphs containing
|
||||
" parentheses
|
||||
setlocal nocindent
|
||||
|
||||
" Fold by sections
|
||||
function! MdSectionFold()
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
" Turn on line-wrapping
|
||||
setlocal wrap
|
||||
" Disable C-indentation as it messes up formatting of paragraphs containing
|
||||
" parentheses
|
||||
setlocal nocindent
|
||||
|
||||
" Close the quickfix window after a cursor movement
|
||||
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).
|
||||
" See vimrc.d/looks.vim for w:ignore_non_ascii_chars
|
||||
if vimwiki#vars#get_syntaxlocal('rxTableSep') !~ '[\d0-\d127]'
|
||||
|
||||
Reference in New Issue
Block a user