treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject

This commit is contained in:
Gaetan Lepage 2024-12-15 20:32:14 +01:00 committed by nix-infra-bot
parent 78e295fa41
commit ec24d496d5
65 changed files with 104 additions and 104 deletions

View file

@ -136,7 +136,7 @@ lib.nixvim.vim-plugin.mkVimPlugin {
plugins.lsp.servers = {
jsonls.settings = mkIf cfg.json.enable {
schemas.__raw = ''
require('schemastore').json.schemas(${helpers.toLuaObject cfg.json.settings})
require('schemastore').json.schemas(${lib.nixvim.toLuaObject cfg.json.settings})
'';
# The plugin recommends to enable this option in its README.
@ -155,7 +155,7 @@ lib.nixvim.vim-plugin.mkVimPlugin {
};
schemas.__raw = ''
require('schemastore').yaml.schemas(${helpers.toLuaObject cfg.yaml.settings})
require('schemastore').yaml.schemas(${lib.nixvim.toLuaObject cfg.yaml.settings})
'';
};
};