parent
98d1c67804
commit
e13116ee4e
|
@ -7,3 +7,11 @@
|
|||
```powershell
|
||||
powercfg -h off
|
||||
```
|
||||
|
||||
## WindowsTerminal
|
||||
|
||||
在 DoubleCmd 中配置以激活的目录为启动路径,新建终端窗口。
|
||||
```powershell
|
||||
$ wt nt -d %d
|
||||
```
|
||||
|
||||
|
|
|
@ -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()
|
||||
trouble.setup()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue