Added some ftplugins
This commit is contained in:
1 parent
7c5d182278
commit
b40a574e92
4 files changed
+88
No files matched your search
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in new issue
Block a user