diff --git a/modules/nixvim/typescript.nix b/modules/nixvim/typescript.nix index c71f7f8..475706b 100644 --- a/modules/nixvim/typescript.nix +++ b/modules/nixvim/typescript.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { plugins.typescript-tools = { @@ -6,6 +6,7 @@ extraPackages = [ pkgs.typescript-language-server ]; settings = { jsx_close_tag.enable = true; + tsserver_path = lib.getExe pkgs.typescript-language-server; tsserver_file_preferences = { __raw = '' function(ft)