mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 01:04:34 +02:00
treewide (cleaning): helpers.toLuaObject -> lib.nixvim.toLuaObject
This commit is contained in:
parent
78e295fa41
commit
ec24d496d5
65 changed files with 104 additions and 104 deletions
|
@ -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})
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue