From 5a37b36846a2588d7c26984c30f2dbd554a9e387 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 2 Nov 2022 14:56:23 +0000 Subject: [PATCH] Better js syntax --- states/vim/files/vimrc | 1 + states/vim/init.sls | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 145fd4f..347f93a 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -33,6 +33,7 @@ Plugin 'altercation/vim-colors-solarized' Plugin 'ctrlpvim/ctrlp.vim' Plugin 'Chiel92/vim-autoformat' Plugin 'python-rope/ropevim' +Plugin 'pangloss/vim-javascript' " All of your Plugins must be added before the following line call vundle#end() " required diff --git a/states/vim/init.sls b/states/vim/init.sls index 69b9781..53f242f 100644 --- a/states/vim/init.sls +++ b/states/vim/init.sls @@ -40,6 +40,14 @@ plugins install: plugins update: cmd.run: - name: vim +PluginUpdate +qall + - onchanges: + - file: vimrc + +plugins remove: + cmd.run: + - name: vim +PluginClean +qall + - onchanges: + - file: vimrc packup dir: file.directory: -- 2.46.2