mirror of
https://github.com/notwa/rc
synced 2024-11-05 06:49:03 -08:00
use 2 space indentation for HTML/CSS, also sort this crap
This commit is contained in:
parent
ccd6a11286
commit
170d644989
1 changed files with 9 additions and 8 deletions
17
home/vimrc
17
home/vimrc
|
@ -191,28 +191,29 @@ endf
|
|||
if has('autocmd')
|
||||
augroup tabs
|
||||
au!
|
||||
au BufRead,BufNewFile PKGBUILD call TabTwo()
|
||||
au FileType ruby call TabTwo()
|
||||
au FileType nim call TabTwo()
|
||||
au BufRead,BufNewFile *.bt,*.1sc call TabFour()
|
||||
au BufRead,BufNewFile *.ys call TabTwo()
|
||||
au FileType javascript,processing call TabTwo()
|
||||
au FileType seed7 call TabTwo()
|
||||
au BufRead,BufNewFile .gitconfig call TabEight()
|
||||
au BufRead,BufNewFile PKGBUILD call TabTwo()
|
||||
au FileType html,css call TabTwo()
|
||||
au FileType javascript,processing call TabTwo()
|
||||
au FileType nim call TabTwo()
|
||||
au FileType ruby call TabTwo()
|
||||
au FileType seed7 call TabTwo()
|
||||
exec 'au' 'BufRead,BufNewFile' $HOME..'/src/bass/*' 'call TabTwo()'
|
||||
|
||||
augroup END
|
||||
|
||||
augroup filetypes
|
||||
au!
|
||||
au BufRead,BufNewFile *.lib setlocal ft=spice
|
||||
au BufRead,BufNewFile *.bt setlocal ft=c
|
||||
au BufRead,BufNewFile *.1sc setlocal ft=c
|
||||
au BufRead,BufNewFile *.asm setlocal ft=lips
|
||||
au BufRead,BufNewFile *.bt setlocal ft=c
|
||||
au BufRead,BufNewFile *.fs setlocal ft=c
|
||||
au BufRead,BufNewFile *.glsl setlocal ft=c
|
||||
au BufRead,BufNewFile *.hlsl setlocal ft=c
|
||||
au BufRead,BufNewFile *.krk setlocal ft=python
|
||||
au BufRead,BufNewFile *.asm setlocal ft=lips
|
||||
au BufRead,BufNewFile *.lib setlocal ft=spice
|
||||
au BufRead,BufNewFile *.nim setlocal ft=nim
|
||||
au BufRead,BufNewFile *.pde setlocal ft=processing
|
||||
au BufRead,BufNewFile,StdinReadPost * call DetectShebang()
|
||||
|
|
Loading…
Reference in a new issue