diff --git a/fnl/legendary.fnl b/fnl/legendary.fnl index a49377e..43bda54 100644 --- a/fnl/legendary.fnl +++ b/fnl/legendary.fnl @@ -1,13 +1,14 @@ (let [M (require :legendary) keymaps [] commands [{1 ":so $VIMRUNTIME/syntax/hitest.vim" - :description "enumerate highlight"}] - functions [] + :description "Show highlights"}] + funcs [{1 Snacks.notifier.show_history + :description "Show notification history"}] autocmds []] (M.setup {:include_builtin false :include_legendary_cmds false :col_separator_char "" : keymaps : commands - : functions + : funcs : autocmds})) diff --git a/lua/autogen/legendary.lua b/lua/autogen/legendary.lua index 158f55c..b04d0e4 100644 --- a/lua/autogen/legendary.lua +++ b/lua/autogen/legendary.lua @@ -1,7 +1,7 @@ -- [nfnl] Compiled from fnl/legendary.fnl by https://github.com/Olical/nfnl, do not edit. local M = require("legendary") local keymaps = {} -local commands = {{":so $VIMRUNTIME/syntax/hitest.vim", description = "enumerate highlight"}} -local functions = {} +local commands = {{":so $VIMRUNTIME/syntax/hitest.vim", description = "Show highlights"}} +local funcs = {{Snacks.notifier.show_history, description = "Show notification history"}} local autocmds = {} -return M.setup({col_separator_char = "", keymaps = keymaps, commands = commands, functions = functions, autocmds = autocmds, include_builtin = false, include_legendary_cmds = false}) +return M.setup({col_separator_char = "", keymaps = keymaps, commands = commands, funcs = funcs, autocmds = autocmds, include_builtin = false, include_legendary_cmds = false}) diff --git a/main/search.nix b/main/search.nix index fd3d3c9..284df0d 100644 --- a/main/search.nix +++ b/main/search.nix @@ -28,7 +28,10 @@ rec { # for sg ast-grep ]; - hooks.commands = [ "Telescope" "TelescopeB" ]; + hooks.commands = [ + "Telescope" + "TelescopeB" + ]; }; asterisk = { package = vim-asterisk; @@ -60,6 +63,7 @@ rec { }; } telescope + lib.snacks ]; postConfig = read ../lua/autogen/legendary.lua; hooks.commands = [ "Legendary" ];