moved indentation rules to ftplugin/ files
This commit is contained in:
parent
a56376cb5c
commit
13a323b19c
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=2
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=2
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=2
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=2
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=4
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=2
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
|
@ -0,0 +1,6 @@
|
||||||
|
set softtabstop=2
|
||||||
|
set tabstop=2
|
||||||
|
set shiftwidth=2
|
||||||
|
set expandtab
|
||||||
|
set shiftround
|
||||||
|
set autoindent
|
8
vimrc
8
vimrc
|
@ -198,14 +198,6 @@ set autoindent
|
||||||
filetype plugin indent on " file type based indentation
|
filetype plugin indent on " file type based indentation
|
||||||
|
|
||||||
syntax on
|
syntax on
|
||||||
"set tabstop=2 " leave at default
|
|
||||||
set expandtab " tab inserts 'softtabstop' number of spaces
|
|
||||||
" set following with autocommands to override filetype plugin indent
|
|
||||||
au Filetype * set softtabstop=2 "
|
|
||||||
au Filetype * set tabstop=2 "
|
|
||||||
au Filetype * set shiftwidth=2 " affects what happens with >>,<<,== and automatic indentation
|
|
||||||
set shiftround " round indent to multiples of shiftwidth
|
|
||||||
set autoindent " copy indent from current line over to new line
|
|
||||||
set mouse=a
|
set mouse=a
|
||||||
|
|
||||||
set listchars=eol:¬,tab:->,trail:~,extends:>,precedes:<,space:·
|
set listchars=eol:¬,tab:->,trail:~,extends:>,precedes:<,space:·
|
||||||
|
|
Loading…
Reference in New Issue