From b0adb689885191d3f8917502e3d09a6cd1a11761 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sat, 4 Nov 2023 14:18:02 +1100 Subject: [PATCH] Explain project support in plugins.vim --- dot-config/vim/plugins.vim | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/dot-config/vim/plugins.vim b/dot-config/vim/plugins.vim index 05f610e..e0d9c6b 100644 --- a/dot-config/vim/plugins.vim +++ b/dot-config/vim/plugins.vim @@ -30,14 +30,18 @@ minpac#add('prabirshrestha/async.vim') minpac#add('lifepillar/vim-gruvbox8') -# If this Vim doesn't already provide Editorconfig as part of its runtime, -# install it ourselves, using exactly the same package name and type (opt, so -# that it can be loaded with :packadd). +# Project handling. Direnv is a tool for setting project-local environment +# variables as you cd around, and Editorconfig is a generic format telling +# text editors what your preferred indent size and stuff are for the given +# project. Both are very helpful to have integrated with Vim. +minpac#add('direnv/direnv.vim') if !isdirectory($VIMRUNTIME .. '/pack/dist/opt/editorconfig') + # If this Vim doesn't already provide Editorconfig as part of its runtime, + # install it ourselves, using exactly the same package name and type (opt, so + # that it can be loaded with :packadd). minpac#add('editorconfig/editorconfig-vim', {name: 'editorconfig', type: 'opt'}) endif -minpac#add('direnv/direnv.vim') minpac#add('godlygeek/tabular') minpac#add('jamessan/vim-gnupg') minpac#add('lifepillar/vim-mucomplete')