Skip to content

Commit

Permalink
adding json language server
Browse files Browse the repository at this point in the history
  • Loading branch information
ck3mp3r committed Jan 29, 2025
1 parent a35739e commit 41b71ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/lua/plugins/_lazy.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ return {
{ import = "lazyvim.plugins.extras.formatting.black" },
{ import = "lazyvim.plugins.extras.lang.go" },
{ import = "lazyvim.plugins.extras.lang.helm" },
{ import = "lazyvim.plugins.extras.lang.json" },
{ import = "lazyvim.plugins.extras.lang.python" },
{ import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.yaml" },
Expand Down
4 changes: 3 additions & 1 deletion config/lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ return {
servers = {
ansiblels = {},
bashls = {},
jsonls = {},
jsonls = {
cmd = { "vscode-json-languageserver", "--stdio" },
},
nixd = {
settings = {
nixd = {
Expand Down
3 changes: 2 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
vscode-js-debug
vtsls
;
pip = python3Packages.pip;
inherit (nodePackages) vscode-json-languageserver;
inherit (python312Packages) pip;
};
in {
formatter = pkgs.alejandra;
Expand Down

0 comments on commit 41b71ce

Please sign in to comment.