From b40a574e9266d70c49e99add577fe3eef3fe7c48 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Sun, 1 Mar 2015 22:41:35 +0100 Subject: [PATCH] Added some ftplugins --- ftplugin/lua.vim | 22 ++++++++++++++++++++++ ftplugin/php.vim | 22 ++++++++++++++++++++++ ftplugin/puppet.vim | 22 ++++++++++++++++++++++ ftplugin/ruby.vim | 22 ++++++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 ftplugin/lua.vim create mode 100644 ftplugin/php.vim create mode 100644 ftplugin/puppet.vim create mode 100644 ftplugin/ruby.vim 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