1
0
mirror of https://github.com/xlogerais/config-vim synced 2024-09-19 22:29:58 +02:00

Added some ftplugins

This commit is contained in:
Xavier Logerais 2015-03-01 22:41:35 +01:00
parent 7c5d182278
commit b40a574e92
4 changed files with 88 additions and 0 deletions

22
ftplugin/lua.vim Normal file
View File

@ -0,0 +1,22 @@
" ----- [ Preferences for lua ] -----
" show cursor
setlocal cursorline cursorcolumn
" show line numbers
setlocal number numberwidth=4
" show matching parentheses
setlocal showmatch
" indent
setlocal autoindent cindent smartindent
" tabs
setlocal tabstop=2
setlocal shiftwidth=2
" use space instead of tabs
setlocal expandtab
"set highlight

22
ftplugin/php.vim Normal file
View File

@ -0,0 +1,22 @@
" ----- [ Preferences for php ] -----
" show cursor
setlocal cursorline cursorcolumn
" show line numbers
setlocal number numberwidth=4
" show matching parentheses
setlocal showmatch
" indent
setlocal autoindent cindent smartindent
" tabs
setlocal tabstop=4
setlocal shiftwidth=4
" use space instead of tabs
setlocal expandtab
"set highlight

22
ftplugin/puppet.vim Normal file
View File

@ -0,0 +1,22 @@
" ----- [ Preferences for puppet ] -----
" show cursor
setlocal cursorline cursorcolumn
" show line numbers
setlocal number numberwidth=4
" show matching parentheses
setlocal showmatch
" indent
setlocal autoindent cindent smartindent
" tabs
setlocal tabstop=2
setlocal shiftwidth=2
" use space instead of tabs
setlocal expandtab
"set highlight

22
ftplugin/ruby.vim Normal file
View File

@ -0,0 +1,22 @@
" ----- [ Preferences for ruby ] -----
" show cursor
setlocal cursorline cursorcolumn
" show line numbers
setlocal number numberwidth=4
" show matching parentheses
setlocal showmatch
" indent
setlocal autoindent cindent smartindent
" tabs
setlocal tabstop=2
setlocal shiftwidth=2
" use space instead of tabs
setlocal expandtab
"set highlight