diff options
author | Benjamin Franzke <bfr@qbus.de> | 2019-04-02 18:32:45 +0200 |
---|---|---|
committer | Benjamin Franzke <bfr@qbus.de> | 2019-04-02 18:32:45 +0200 |
commit | 0d728d6b818589101d7ca66bb33723e61c338144 (patch) | |
tree | f1d9623469a18696edaf9ed0b3a46b695520f39b /.config/vim/vimrc | |
parent | f8eb90c49302c1f3aa71bc64cb668e2b2604af6f (diff) | |
download | dotfiles-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/vimrc')
-rw-r--r-- | .config/vim/vimrc | 3 |
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 |