From 0d728d6b818589101d7ca66bb33723e61c338144 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 2 Apr 2019 18:32:45 +0200 Subject: vim: Add definition on how to indent/highlight .vue files --- .config/vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit