Unverified Commit 72453271 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

vscode-extensions.nvarner.typst-lsp: fix path to `typst-lsp` (#228856)

parent c0a40e05
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
, alejandra
, millet
, shfmt
, typst-lsp
, autoPatchelfHook
, zlib
, stdenv
@@ -2278,6 +2279,14 @@ let
          version = "0.4.1";
          sha256 = "sha256-NZejUb99JDcnqjihLTPkNzVCgpqDkbiwAySbBVZ0esY=";
        };

        nativeBuildInputs = [ jq moreutils ];

        postInstall = ''
          cd "$out/$installPrefix"
          jq '.contributes.configuration.properties."typst-lsp.serverPath".default = "${typst-lsp}/bin/typst-lsp"' package.json | sponge package.json
        '';

        meta = {
          changelog = "https://marketplace.visualstudio.com/items/nvarner.typst-lsp/changelog";
          description = "A VSCode extension for providing a language server for Typst";