diff --git a/init.lua b/init.lua index e4a39f5..0b99843 100644 --- a/init.lua +++ b/init.lua @@ -5,8 +5,9 @@ require('core.filetype') require('Plugin.coc') require('Plugin.lualine') --- require('Plugin.treesitter') require('Plugin.Imchange') +require('Plugin.NERDTree') + diff --git a/lua/core/options.lua b/lua/core/options.lua index 910b494..5d53e53 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -1,5 +1,9 @@ local G = require('G') +-- +G.opt.ttimeout = true +G.opt.ttimeoutlen = 100 + -- 行号 G.opt.nu = true G.opt.rnu = true @@ -35,6 +39,7 @@ G.opt.wrap = false -- 背景 G.opt.background = 'dark' + -- 主题 G.cmd("colorscheme nord")