summaryrefslogtreecommitdiff
path: root/.config/vim
diff options
context:
space:
mode:
authorBenjamin Franzke <bfr@qbus.de>2019-04-02 18:32:45 +0200
committerBenjamin Franzke <bfr@qbus.de>2019-04-02 18:32:45 +0200
commit0d728d6b818589101d7ca66bb33723e61c338144 (patch)
treef1d9623469a18696edaf9ed0b3a46b695520f39b /.config/vim
parentf8eb90c49302c1f3aa71bc64cb668e2b2604af6f (diff)
downloaddotfiles-0d728d6b818589101d7ca66bb33723e61c338144.tar.gz
dotfiles-0d728d6b818589101d7ca66bb33723e61c338144.tar.bz2
dotfiles-0d728d6b818589101d7ca66bb33723e61c338144.zip
vim: Add definition on how to indent/highlight .vue files
Diffstat (limited to '.config/vim')
-rw-r--r--.config/vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index 3487d2c..f569281 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -142,6 +142,9 @@ autocmd BufNewFile,BufRead /home/ben/src/systemd/man/*.xml set sw=2 ts=2 sts=2 e
" settings for json files
autocmd BufNewFile,BufRead *.json set sw=2 ts=2 sts=2 et
+" settings for vue files
+autocmd BufNewFile,BufRead *.vue set ft=html sw=4 ts=4 sts=4 et
+
" vimmanpager stuff
" disable line numbers when using vim as manpager
autocmd FileType man set nonumber nohlsearch nohlsearch