mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/schemastore: remove table wrapping
Signed-off-by: Vincent Desjardins <vdesjardins@gmail.com>
This commit is contained in:
parent
30f3a3242e
commit
e2f81c8e8e
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ helpers.vim-plugin.mkVimPlugin {
|
||||||
plugins.lsp.servers = {
|
plugins.lsp.servers = {
|
||||||
jsonls.settings = mkIf cfg.json.enable {
|
jsonls.settings = mkIf cfg.json.enable {
|
||||||
schemas.__raw = ''
|
schemas.__raw = ''
|
||||||
require('schemastore').json.schemas({${helpers.toLuaObject cfg.json.settings}})
|
require('schemastore').json.schemas(${helpers.toLuaObject cfg.json.settings})
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The plugin recommends to enable this option in its README.
|
# The plugin recommends to enable this option in its README.
|
||||||
|
@ -155,7 +155,7 @@ helpers.vim-plugin.mkVimPlugin {
|
||||||
};
|
};
|
||||||
|
|
||||||
schemas.__raw = ''
|
schemas.__raw = ''
|
||||||
require('schemastore').yaml.schemas({${helpers.toLuaObject cfg.yaml.settings}})
|
require('schemastore').yaml.schemas(${helpers.toLuaObject cfg.yaml.settings})
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue