Skip to content

Commit

Permalink
terminal/editors/neovim: add lua comment mini
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed May 30, 2024
1 parent 56e2acb commit aa46899
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions modules/home/programs/terminal/editors/neovim/plugins/mini.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,23 @@ _: {
evaluate_single = true;

items = {
"__unkeyed.buildtin_actions".__raw = "require('mini.starter').sections.builtin_actions()";
"__unkeyed.recent_files_current_directory".__raw = "require('mini.starter').sections.recent_files(10, false)";
"__unkeyed.recent_files".__raw = "require('mini.starter').sections.recent_files(10, true)";
"__unkeyed.sessions".__raw = "require('mini.starter').sections.sessions(5, true)";
"__unkeyed.buildtin_actions".__raw = # Lua
"require('mini.starter').sections.builtin_actions()";
"__unkeyed.recent_files_current_directory".__raw = # Lua
"require('mini.starter').sections.recent_files(10, false)";
"__unkeyed.recent_files".__raw = # Lua
"require('mini.starter').sections.recent_files(10, true)";
"__unkeyed.sessions".__raw = # Lua
"require('mini.starter').sections.sessions(5, true)";
};

content_hooks = {
"__unkeyed.adding_bullet".__raw = "require('mini.starter').gen_hook.adding_bullet()";
"__unkeyed.indexing".__raw = "require('mini.starter').gen_hook.indexing('all', { 'Builtin actions' })";
"__unkeyed.padding".__raw = "require('mini.starter').gen_hook.aligning('center', 'center')";
"__unkeyed.adding_bullet".__raw = # lua
"require('mini.starter').gen_hook.adding_bullet()";
"__unkeyed.indexing".__raw = # lua
"require('mini.starter').gen_hook.indexing('all', { 'Builtin actions' })";
"__unkeyed.padding".__raw = # Lua
"require('mini.starter').gen_hook.aligning('center', 'center')";
};
};

Expand Down

0 comments on commit aa46899

Please sign in to comment.