1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

Compare commits

..

No commits in common. "8d74fcb75c49f738d16299359f15a5fc7736c09f" and "97af59e670be09dfb74d136af94be8ab3b98c25a" have entirely different histories.

6 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
scriptencoding utf-8 scriptencoding utf-8
" Plugin specification and lua stuff " Plugin specification and lua stuff
lua require('plugin_specs') lua require('plugins')
" Use short names for common plugin manager commands to simplify typing. " Use short names for common plugin manager commands to simplify typing.
" To use these shortcuts: first activate command line with `:`, then input the " To use these shortcuts: first activate command line with `:`, then input the

View File

@ -14,7 +14,7 @@ vim.loader.enable()
local version = vim.version local version = vim.version
-- check if we have the latest stable version of nvim -- check if we have the latest stable version of nvim
local expected_ver = "0.9.4" local expected_ver = "0.9.2"
local ev = version.parse(expected_ver) local ev = version.parse(expected_ver)
local actual_ver = version() local actual_ver = version()
@ -33,11 +33,10 @@ local core_conf_files = {
"colorschemes.lua", -- colorscheme settings "colorschemes.lua", -- colorscheme settings
} }
local viml_conf_dir = vim.fn.stdpath("config") .. "/viml_conf"
-- source all the core config files -- source all the core config files
for _, file_name in ipairs(core_conf_files) do for _, file_name in ipairs(core_conf_files) do
if vim.endswith(file_name, 'vim') then if vim.endswith(file_name, 'vim') then
local path = string.format("%s/%s", viml_conf_dir, file_name) local path = string.format("%s/core/%s", vim.fn.stdpath("config"), file_name)
local source_cmd = "source " .. path local source_cmd = "source " .. path
vim.cmd(source_cmd) vim.cmd(source_cmd)
else else

View File

@ -12,6 +12,7 @@ nvim_tree.setup {
update_cwd = false, update_cwd = false,
view = { view = {
width = 30, width = 30,
hide_root_folder = false,
side = "left", side = "left",
preserve_window_proportions = false, preserve_window_proportions = false,
number = false, number = false,