From 461e92268025f5034e0307dc1e6c95695f29b8c1 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Tue, 21 Mar 2017 09:42:04 -0400 Subject: [PATCH] Add vim qml support --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index fa6cf55..10c94c0 100644 --- a/vimrc +++ b/vimrc @@ -57,6 +57,9 @@ Plug 'tpope/vim-fireplace', { 'for': 'clojure' } " Rust Plug 'rust-lang/rust.vim' +" QML +Plug 'peterhoeg/vim-qml' + call plug#end() filetype plugin indent on @@ -270,7 +273,7 @@ augroup vimrcEx autocmd BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif autocmd FileType ruby,haml,eruby,yaml,html,javascript,sass,cucumber set ai sw=2 sts=2 et - autocmd FileType python set sw=4 sts=4 et + autocmd FileType python,qml set sw=4 sts=4 et " Indent p tags autocmd FileType html,eruby if g:html_indent_tags !~ '\\|p\>' | let g:html_indent_tags .= '\|p\|li\|dt\|dd' | endif