aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-08-08 19:07:54 -0500
committerGitHub <noreply@github.com>2016-08-08 19:07:54 -0500
commit006f9c0c9c96a406b610b9b76ff58b88f70ed674 (patch)
tree7ba650f7e93eb60af15e754b1708befe425b260f /src
parentabb0928dfbf71d5358b56e888db9ed8ff66d8933 (diff)
parent84bf53b8034e398960c1356b4c8114bcc71cbff1 (diff)
downloadrneovim-006f9c0c9c96a406b610b9b76ff58b88f70ed674.tar.gz
rneovim-006f9c0c9c96a406b610b9b76ff58b88f70ed674.tar.bz2
rneovim-006f9c0c9c96a406b610b9b76ff58b88f70ed674.zip
Merge pull request #5195 from jamessan/master
Set the default value for 'packpath'
Diffstat (limited to 'src')
-rw-r--r--src/nvim/option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 6baf8c65ce..658e0d8a47 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -521,6 +521,8 @@ static void set_runtimepath_default(void)
#undef SITE_SIZE
#undef AFTER_SIZE
set_string_default("runtimepath", rtp, true);
+ // Make a copy of 'rtp' for 'packpath'
+ set_string_default("packpath", rtp, false);
xfree(data_dirs);
xfree(config_dirs);
xfree(data_home);