feat: update nvim config

This commit is contained in:
2026-03-31 16:26:32 +08:00
parent 3bc05c5abb
commit 4ec54aeff7
16 changed files with 205 additions and 469 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ function M.get_loc()
end
info = info or me
local source = info.source:sub(2)
source = vim.loop.fs_realpath(source) or source
source = vim.uv.fs_realpath(source) or source
return source .. ":" .. info.linedefined
end
@@ -47,7 +47,7 @@ function M.dump(...)
if vim.tbl_isempty(value) then
value = nil
else
value = vim.tbl_islist(value) and vim.tbl_count(value) <= 1 and value[1] or value
value = vim.islist(value) and vim.tbl_count(value) <= 1 and value[1] or value
end
M._dump(value)
end