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:
parent
3670a19e51
commit
b41998828d
@ -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
|
||||
|
||||
12
init.lua
12
init.lua
@ -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
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
-- Some utility stuff
|
||||
require 'utils'
|
||||
|
||||
-- plugin installation
|
||||
require 'plugins'
|
||||
Loading…
x
Reference in New Issue
Block a user