From 0bb85199b923b728602bc4e422b72ec71b862ecb Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 4 Apr 2017 22:09:43 +0200 Subject: vim: Add file type configurations --- .config/vim/ftplugin/html.vim | 3 +++ .config/vim/ftplugin/javascript.vim | 3 +++ .config/vim/ftplugin/php.vim | 3 +++ .config/vim/ftplugin/yaml.vim | 3 +++ 4 files changed, 12 insertions(+) create mode 100644 .config/vim/ftplugin/html.vim create mode 100644 .config/vim/ftplugin/javascript.vim create mode 100644 .config/vim/ftplugin/php.vim create mode 100644 .config/vim/ftplugin/yaml.vim (limited to '.config') 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 -- cgit v1.2.3