diff options
| author | ZyX <kp-pav@yandex.ru> | 2015-10-17 21:46:30 +0300 | 
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2015-10-23 14:54:11 +0300 | 
| commit | a82a059921f36fb580026ef4cc31f64c110d07b7 (patch) | |
| tree | 77b2761f4c37b5c7485058f0324846cf22b65fca /src/nvim/option.c | |
| parent | aadaa1fed4d471fc2e286b0ffa151c006482389e (diff) | |
| download | rneovim-a82a059921f36fb580026ef4cc31f64c110d07b7.tar.gz rneovim-a82a059921f36fb580026ef4cc31f64c110d07b7.tar.bz2 rneovim-a82a059921f36fb580026ef4cc31f64c110d07b7.zip | |
option: Add `//` to the end of default `&directory`
Diffstat (limited to 'src/nvim/option.c')
| -rw-r--r-- | src/nvim/option.c | 9 | 
1 files changed, 5 insertions, 4 deletions
| diff --git a/src/nvim/option.c b/src/nvim/option.c index 9fa8a6539e..9089947803 100644 --- a/src/nvim/option.c +++ b/src/nvim/option.c @@ -698,10 +698,11 @@ void set_init_1(void)  #endif                       false); -  set_string_default("viewdir", stdpaths_user_data_subpath("view"), true); -  set_string_default("backupdir", stdpaths_user_data_subpath("backup"), true); -  set_string_default("directory", stdpaths_user_data_subpath("swap"), true); -  set_string_default("undodir", stdpaths_user_data_subpath("undo"), true); +  set_string_default("viewdir", stdpaths_user_data_subpath("view", 0), true); +  set_string_default("backupdir", stdpaths_user_data_subpath("backup", 0), +                     true); +  set_string_default("directory", stdpaths_user_data_subpath("swap", 2), true); +  set_string_default("undodir", stdpaths_user_data_subpath("undo", 0), true);    // Set default for &runtimepath. All necessary expansions are performed in    // this function.    set_runtimepath_default(); | 
