diff --git a/ftplugin/lua.vim b/ftplugin/lua.vim new file mode 100644 index 0000000..a8202c2 --- /dev/null +++ b/ftplugin/lua.vim @@ -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 diff --git a/ftplugin/php.vim b/ftplugin/php.vim new file mode 100644 index 0000000..e2dd512 --- /dev/null +++ b/ftplugin/php.vim @@ -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 diff --git a/ftplugin/puppet.vim b/ftplugin/puppet.vim new file mode 100644 index 0000000..06694d2 --- /dev/null +++ b/ftplugin/puppet.vim @@ -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 diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim new file mode 100644 index 0000000..b9b2310 --- /dev/null +++ b/ftplugin/ruby.vim @@ -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