Update nvim

Signed-off-by: Shockwave <lzhdev@yeah.net>
This commit is contained in:
Shockwave 2025-02-24 09:28:58 +08:00
parent 98d1c67804
commit e13116ee4e
3 changed files with 11 additions and 2 deletions

View File

@ -7,3 +7,11 @@
```powershell
powercfg -h off
```
## WindowsTerminal
在 DoubleCmd 中配置以激活的目录为启动路径,新建终端窗口。
```powershell
$ wt nt -d %d
```

View File

@ -1,6 +1,6 @@
local ok, trouble = pcall(require, 'trouble')
if not ok then
print('trouble load error')
vim.notify('trouble load error')
end
trouble.setup()

View File

@ -12,6 +12,7 @@ end
---comment 加载 lua 模块
---@param module_name string 加载的模块名称
---@return table|nil 返回模块或者 Nil
function M.load_module(module_name)
local ok, lua_module = pcall(require, module_name)
if not ok then