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

refactor a bit

1. change theme to colorscheme
2. update plugin load logic
This commit is contained in:
jdhao 2022-08-28 12:43:50 +08:00
parent 3670a19e51
commit b41998828d
4 changed files with 7 additions and 12 deletions

View File

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

View File

@ -21,12 +21,12 @@ if nvim_ver ~= expected_ver then
end
local core_conf_files = {
"globals.vim",
"options.vim",
"autocommands.vim",
"mappings.vim",
"plugins.vim",
"themes.lua",
"globals.vim", -- some global settings
"options.vim", -- setting options in nvim
"autocommands.vim", -- various autocommands
"mappings.vim", -- all the user-defined mappings
"plugins.vim", -- all the plugins installed and their configurations
"colorschemes.lua", -- colorscheme settings
}
-- source all the core config files

View File

@ -1,5 +0,0 @@
-- Some utility stuff
require 'utils'
-- plugin installation
require 'plugins'