mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
languages/json: fix fix failing CI
Make fixes to stop the JSON module from failing CI.
This commit is contained in:
parent
f578f82b4d
commit
dbd395ad01
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
}: let
|
||||
inherit (builtins) attrNames;
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
inherit (lib.meta) getExe;
|
||||
inherit (lib.meta) getExe' getExe;
|
||||
inherit (lib.modules) mkIf mkMerge;
|
||||
inherit (lib.types) enum package;
|
||||
inherit (lib.nvim.types) mkGrammarOption singleOrListOf;
|
||||
|
@ -17,7 +17,7 @@
|
|||
defaultServers = ["jsonls"];
|
||||
servers = {
|
||||
jsonls = {
|
||||
cmd = [(getExe pkgs.vscode-json-languageserver) "--stdio"];
|
||||
cmd = [(getExe' "vscode-json-languageserver" pkgs.vscode-langservers-extracted) "--stdio"];
|
||||
filetypes = ["json" "jsonc"];
|
||||
init_options = {provideFormatter = true;};
|
||||
root_markers = [".git"];
|
||||
|
@ -37,7 +37,7 @@
|
|||
};
|
||||
in {
|
||||
options.vim.languages.json = {
|
||||
enable = mkEnableOption "JSON langauge support";
|
||||
enable = mkEnableOption "JSON language support";
|
||||
|
||||
treesitter = {
|
||||
enable = mkEnableOption "JSON treesitter" // {default = config.vim.languages.enableTreesitter;};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue