From 0e88a55e56226713125a47d0e56fc89e8559d979 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Thu, 22 May 2025 16:08:28 -0400 Subject: [PATCH] use editorconfig via plugin instead of apt --- setup/0-pre-config.sh | 2 +- setup/config/vim-vimrc | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) 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'