From 56f00a523654f5a5bbb59882c269499a5f9235af Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Mon, 10 Aug 2020 13:37:09 -0500 Subject: [PATCH] Add QML indentation rules --- templates/.vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/.vimrc b/templates/.vimrc index e8bf035..69cc183 100644 --- a/templates/.vimrc +++ b/templates/.vimrc @@ -28,3 +28,4 @@ let g:rustfmt_autosave = 1 " format .rs on save filetype plugin indent on autocmd FileType yaml,yml setlocal tabstop=2 softtabstop=2 shiftwidth=2 autocmd FileType markdown,plaintex,rst,tex,text setlocal textwidth=79 +autocmd BufNewFile,BufRead *.qml set smartindent