From f1eed0e101f8edd292c2bedcedc140fdefab9e84 Mon Sep 17 00:00:00 2001 From: newbieQQ <1770362456@qq.com> Date: Mon, 8 May 2023 23:43:49 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E4=BA=86=E6=B2=A1=E4=BB=80?= =?UTF-8?q?=E4=B9=88=E8=BD=AF=E7=94=A8=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- init.lua | 3 ++- lua/core/options.lua | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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")