mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-13 02:34:34 +02:00
keymaps: use 'action.__raw' instead of 'lua = true' internally
This commit is contained in:
parent
26a7c7ec5c
commit
2294a12b0b
8 changed files with 11 additions and 21 deletions
|
@ -22,8 +22,7 @@ with lib; {
|
|||
# Mode can be a string or a list of strings
|
||||
mode = "n";
|
||||
key = "<leader>p";
|
||||
action = "require('my-plugin').do_stuff";
|
||||
lua = true;
|
||||
action.__raw = "require('my-plugin').do_stuff";
|
||||
# Note that all of the mapping options are now under the `options` attrs
|
||||
options = {
|
||||
silent = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue