Skip to content

Commit

Permalink
Add more files in ftplugin
Browse files Browse the repository at this point in the history
  • Loading branch information
odolbeau committed Dec 17, 2013
1 parent 3b28928 commit 788fc1a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _vimrc
Expand Up @@ -33,6 +33,8 @@
autocmd BufRead *.pde set filetype=pde
autocmd BufRead *.hbs set filetype=html
autocmd BufRead *.mvel set filetype=java
autocmd BufRead *.yml set filetype=yaml
autocmd BufRead *.json set filetype=json

" Encoding
set ff=unix " Unix EOL
Expand Down
8 changes: 8 additions & 0 deletions vim/ftplugin/bash.vim
@@ -0,0 +1,8 @@
" Indentation
set softtabstop=4 " tab = 4 space
set shiftwidth=4
set expandtab " no more tabs, only spaces!

" Editor
set list
set listchars=trail:¤,tab:>-,nbsp:• " Show blank spaces and tabs at the end of a line
8 changes: 8 additions & 0 deletions vim/ftplugin/json.vim
@@ -0,0 +1,8 @@
" Indentation
set softtabstop=4 " tab = 4 space
set shiftwidth=4
set expandtab " no more tabs, only spaces!

" Editor
set list
set listchars=trail:¤,tab:>-,nbsp:• " Show blank spaces and tabs at the end of a line
8 changes: 8 additions & 0 deletions vim/ftplugin/yaml.vim
@@ -0,0 +1,8 @@
" Indentation
set softtabstop=4 " tab = 4 space
set shiftwidth=4
set expandtab " no more tabs, only spaces!

" Editor
set list
set listchars=trail:¤,tab:>-,nbsp:• " Show blank spaces and tabs at the end of a line

0 comments on commit 788fc1a

Please sign in to comment.