mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01: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
|
|
@ -22,7 +22,6 @@ in
|
|||
onAttach = helpers.defaultNullOpts.mkLuaFn "__lspOnAttach" "Lua code to run when tsserver attaches to a buffer.";
|
||||
handlers = mkOption {
|
||||
type = with lib.types; nullOr (attrsOf strLuaFn);
|
||||
apply = v: helpers.ifNonNull' v (mapAttrs (_: helpers.mkRaw) v);
|
||||
default = null;
|
||||
description = "How tsserver should respond to LSP requests";
|
||||
example = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue