summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2017-04-04 22:09:43 +0200
committerRobin Krahl <me@robin-krahl.de>2017-04-04 22:09:43 +0200
commit0bb85199b923b728602bc4e422b72ec71b862ecb (patch)
tree615a34858475962c65320190b7f0189e2c23a4ba
parentdfe38c3d35a0627024bc94b0420bf21cbbe6e8fc (diff)
downloaddotfiles-0bb85199b923b728602bc4e422b72ec71b862ecb.tar.gz
dotfiles-0bb85199b923b728602bc4e422b72ec71b862ecb.tar.bz2
vim: Add file type configurations
-rw-r--r--.config/vim/ftplugin/html.vim3
-rw-r--r--.config/vim/ftplugin/javascript.vim3
-rw-r--r--.config/vim/ftplugin/php.vim3
-rw-r--r--.config/vim/ftplugin/yaml.vim3
4 files changed, 12 insertions, 0 deletions
diff --git a/.config/vim/ftplugin/html.vim b/.config/vim/ftplugin/html.vim
new file mode 100644
index 0000000..765e06c
--- /dev/null
+++ b/.config/vim/ftplugin/html.vim
@@ -0,0 +1,3 @@
+setlocal expandtab
+setlocal shiftwidth=4
+setlocal softtabstop=4
diff --git a/.config/vim/ftplugin/javascript.vim b/.config/vim/ftplugin/javascript.vim
new file mode 100644
index 0000000..765e06c
--- /dev/null
+++ b/.config/vim/ftplugin/javascript.vim
@@ -0,0 +1,3 @@
+setlocal expandtab
+setlocal shiftwidth=4
+setlocal softtabstop=4
diff --git a/.config/vim/ftplugin/php.vim b/.config/vim/ftplugin/php.vim
new file mode 100644
index 0000000..00a6a64
--- /dev/null
+++ b/.config/vim/ftplugin/php.vim
@@ -0,0 +1,3 @@
+set expandtab
+set shiftwidth=2
+set softtabstop=2
diff --git a/.config/vim/ftplugin/yaml.vim b/.config/vim/ftplugin/yaml.vim
new file mode 100644
index 0000000..51f2b56
--- /dev/null
+++ b/.config/vim/ftplugin/yaml.vim
@@ -0,0 +1,3 @@
+setlocal expandtab
+setlocal shiftwidth=2
+setlocal softtabstop=2