Ad override for irritating indent.
This commit is contained in:
parent
985a7b6159
commit
b9900e4c73
5 changed files with 10 additions and 2 deletions
|
@ -627,4 +627,4 @@ savefig.bbox : tight # 'tight' or 'standard'.
|
|||
# On Windows use the full path since convert
|
||||
# is also the name of a system tool.
|
||||
#
|
||||
mpl_toolkits.legacy_colorbar: False
|
||||
#mpl_toolkits.legacy_colorbar: False
|
||||
|
|
|
@ -20,13 +20,15 @@ rules:
|
|||
hyphens: enable
|
||||
indentation: enable
|
||||
key-duplicates: enable
|
||||
key-ordering: {}
|
||||
key-ordering: disable
|
||||
line-length: enable
|
||||
new-line-at-end-of-file: enable
|
||||
new-lines: enable
|
||||
octal-values: enable
|
||||
quoted-strings:
|
||||
quote-type: double
|
||||
required: only-when-needed
|
||||
allow-quoted-quotes: true
|
||||
trailing-spaces: enable
|
||||
truthy:
|
||||
allowed-values:
|
||||
|
|
|
@ -9,3 +9,5 @@ exe "source " . g:my_environ_dir . "/home/.vimrc.d/plugins.vim"
|
|||
exe "source " . g:my_environ_dir . "/home/.vimrc.d/dev-environ.vim"
|
||||
|
||||
exe "source " . g:my_environ_dir . "/home/.vimrc.d/gui.vim"
|
||||
|
||||
exe "source " . g:my_environ_dir . "/home/.vimrc.d/override.vim"
|
||||
|
|
|
@ -25,6 +25,8 @@ set nocompatible " The most important VIM option
|
|||
scriptencoding utf-8 " Convert all scripts into UTF8 format
|
||||
|
||||
" Typing options:
|
||||
" There is an indent override in override.vim
|
||||
|
||||
set smarttab
|
||||
set tabstop=4 " Set the default tabstops
|
||||
set shiftwidth=4 " Set the default autoindent
|
||||
|
|
2
home/.vimrc.d/override.vim
Normal file
2
home/.vimrc.d/override.vim
Normal file
|
@ -0,0 +1,2 @@
|
|||
" This has to be after the filetype plugin.
|
||||
:autocmd Filetype * setlocal indentkeys-=0#
|
Loading…
Reference in a new issue