update nvim config and squash some bugs

This commit is contained in:
sudacode committed 2025-08-07 21:50:36 -07:00
1 parent 074c895e53
commit 9aac0e4dc0
7 files changed
+22 -6

No files matched your search

@@ -1,5 +1,5 @@
local ts = require("telescope")
ts.load_extension("fzf")
-- ts.load_extension("fzf")
ts.load_extension("color_names")
ts.load_extension("file_browser")
ts.load_extension("glyph")
@@ -19,8 +19,9 @@ function M.addToWhichKey(mappings, group)
elseif not mappings and group then
return
end
local wk_mappings = {}
for _, mapping in ipairs(mappings) do
local wk_mappings = {}
wk_mappings = {}
if not mapping.key or mapping.key == "" then
vim.notify("Error: Key is empty or nil", "error")
return