aboutsummaryrefslogtreecommitdiffstats
path: root/test/minimal_init.lua
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2021-08-10 17:12:49 +0200
committerGitHub <noreply@github.com>2021-08-10 11:12:49 -0400
commit67c41ab1af77608ca0f2d0cbaedafd44d73c8153 (patch)
tree097988853cc8b3b05e8dac8e071bde877f0480e4 /test/minimal_init.lua
parent[docgen] Update CONFIG.md (diff)
downloadnvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.tar
nvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.tar.gz
nvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.tar.bz2
nvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.tar.lz
nvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.tar.xz
nvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.tar.zst
nvim-lspconfig-67c41ab1af77608ca0f2d0cbaedafd44d73c8153.zip
chore: make minimal_init.lua more robust (#1131)
1. setting `runtimepath` to `$VIMRUNTIME` _only_ (skipping user plugins but still sourcing builtin filetype plugins) 2. putting the `packer_compiled.lua` into a temp directory to avoid clobbering the user's own (or, worse, conflicting if they configured a non-standard location themselves) 3. updating installed plugins unconditionally (to prevent stale plugins from earlier tests)
Diffstat (limited to 'test/minimal_init.lua')
-rw-r--r--test/minimal_init.lua30
1 files changed, 16 insertions, 14 deletions
diff --git a/