plugins/lightline: extraConfiguLua -> luaConfig

This commit is contained in:
Austin Horstman 2024-12-12 20:39:34 -06:00
parent 455c5bff3e
commit e60af13695
No known key found for this signature in database

View file

@ -22,9 +22,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
settings.component_function = {
readonly = "LightlineReadonly";
};
};
extraConfigLua = '''
luaConfig.pre= '''
function LightlineReadonly()
local is_readonly = vim.bo.readonly == 1
local filetype = vim.bo.filetype
@ -36,6 +35,7 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
end
end
''';
};
'';
# TODO: Added 2024-08-23, remove after 24.11