diff --git a/setup/0-pre-config.sh b/setup/0-pre-config.sh index b5bca3e..4818594 100755 --- a/setup/0-pre-config.sh +++ b/setup/0-pre-config.sh @@ -4,7 +4,7 @@ read -p 'Install prerequisites (git, vim, curl, and jq)? [y/N]: ' response case "${response}" in [Yy]* ) # before we can begin, we need what should have already been installed - sudo apt install git vim vim-editorconfig curl jq -y + sudo apt install git vim curl jq -y ;; * ) echo 'Skipping' diff --git a/setup/config/vim-vimrc b/setup/config/vim-vimrc index 3efdba5..519c2cd 100644 --- a/setup/config/vim-vimrc +++ b/setup/config/vim-vimrc @@ -41,6 +41,9 @@ map OF call plug#begin() +" enable editorconfig support +Plug 'editorconfig/editorconfig-vim' + " highlight Caddyfile Plug 'isobit/vim-caddyfile'