Skip to content

Commit

Permalink
nvcheatsheet: add type for excluded_groups
Browse files Browse the repository at this point in the history
so the group names must be put in it , example : { "autopairs", "Terminal (t)" }
  • Loading branch information
siduck committed Apr 28, 2024
1 parent 01354f3 commit 729bb24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvchad/cheatsheet/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ M.create_fullsize_win = function(buf)
end

M.get_mappings = function(mappings, tb_to_add)
local excluded_groups = require("nvconfig").ui.cheatsheet.excluded_groups or {}
local excluded_groups = require("nvconfig").ui.cheatsheet.excluded_groups

for _, v in ipairs(mappings) do
local desc = v.desc
Expand Down
1 change: 1 addition & 0 deletions nvchad_types/chadrc.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 729bb24

Please sign in to comment.