1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 11:36:07 +01:00

plugins/emmet: use nestedLiteralLua

Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
saygo-png 2025-10-27 18:38:03 +01:00 committed by Matt Sturgeon
parent 79d53a50e2
commit dfdc4aebfb

View file

@ -4,7 +4,7 @@
}: }:
let let
inherit (lib) types; inherit (lib) types;
inherit (lib.nixvim) defaultNullOpts mkNullOrOption; inherit (lib.nixvim) defaultNullOpts mkNullOrOption nestedLiteralLua;
in in
lib.nixvim.plugins.mkVimPlugin { lib.nixvim.plugins.mkVimPlugin {
name = "emmet"; name = "emmet";
@ -49,11 +49,11 @@ lib.nixvim.plugins.mkVimPlugin {
html = { html = {
default_attributes = { default_attributes = {
option = { option = {
value = null; value = nestedLiteralLua "nil";
}; };
textarea = { textarea = {
id = null; id = nestedLiteralLua "nil";
name = null; name = nestedLiteralLua "nil";
cols = 10; cols = 10;
rows = 10; rows = 10;
}; };