mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-31 23:40:12 +02:00
plugins: remove redundant mkRaw
apply
functions
`strLua` now does this coercion internally.
This commit is contained in:
parent
bd6aa476b8
commit
2cda50d530
15 changed files with 0 additions and 26 deletions
|
@ -151,7 +151,6 @@ helpers.neovim-plugin.mkNeovimPlugin {
|
|||
});
|
||||
default = null;
|
||||
example = "require('noice.util.spinners').spinners.circleFull";
|
||||
apply = v: if isString v then helpers.mkRaw v else v;
|
||||
description = "Spinner for pinned views that are loading.";
|
||||
pluginDefault = {
|
||||
frames = defaultFrames;
|
||||
|
@ -182,7 +181,6 @@ helpers.neovim-plugin.mkNeovimPlugin {
|
|||
# Hence, we convert the string to raw lua in `apply`.
|
||||
keys = helpers.defaultNullOpts.mkAttrsOf' {
|
||||
type = with lib.types; either strLuaFn (enum [ false ]);
|
||||
apply = x: if x == null then null else mapAttrs (_: v: if isString v then helpers.mkRaw v else v) x;
|
||||
description = ''
|
||||
Buffer-local keymaps to be added to edgebar buffers.
|
||||
Existing buffer-local keymaps will never be overridden.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue