diff options
| author | jdhao <jdhao@hotmail.com> | 2023-10-11 20:40:45 +0200 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2023-10-11 20:41:25 +0200 |
| commit | b1f0ef63ef162e7fb9ee0beaec2e22d7ebf40030 (patch) | |
| tree | 2044ba5c503b1aa257d69eb0c7c866d39836e615 | |
| parent | 54ca6d419198fcca6d7b8f6f81b7fa6d32e2e45c (diff) | |
Rename vimscript conf directory
| -rw-r--r-- | init.lua | 3 | ||||
| -rw-r--r-- | viml_conf/autocommands.vim (renamed from core/autocommands.vim) | 0 | ||||
| -rw-r--r-- | viml_conf/options.vim (renamed from core/options.vim) | 0 | ||||
| -rw-r--r-- | viml_conf/plugins.vim (renamed from core/plugins.vim) | 0 |
4 files changed, 2 insertions, 1 deletions
@@ -33,10 +33,11 @@ local core_conf_files = { "colorschemes.lua", -- colorscheme settings } +local viml_conf_dir = vim.fn.stdpath("config") .. "/viml_conf" -- source all the core config files for _, file_name in ipairs(core_conf_files) do if vim.endswith(file_name, 'vim') then - local path = string.format("%s/core/%s", vim.fn.stdpath("config"), file_name) + local path = string.format("%s/%s", viml_conf_dir, file_name) local source_cmd = "source " .. path vim.cmd(source_cmd) else diff --git a/core/autocommands.vim b/viml_conf/autocommands.vim index 0fad842..0fad842 100644 --- a/core/autocommands.vim +++ b/viml_conf/autocommands.vim diff --git a/core/options.vim b/viml_conf/options.vim index 5326636..5326636 100644 --- a/core/options.vim +++ b/viml_conf/options.vim diff --git a/core/plugins.vim b/viml_conf/plugins.vim index 83b6a52..83b6a52 100644 --- a/core/plugins.vim +++ b/viml_conf/plugins.vim |
