helix/languages.nix: add typescript
This commit is contained in:
parent
3a529c9631
commit
6dcabaf9dc
1 changed files with 28 additions and 28 deletions
|
@ -110,34 +110,34 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# typescript-language-server = {
|
typescript-language-server = {
|
||||||
# command = getExe pkgs.nodePackages.typescript-language-server;
|
command = getExe pkgs.typescript-language-server;
|
||||||
# args = ["--stdio"];
|
args = ["--stdio"];
|
||||||
# config = let
|
config = let
|
||||||
# inlayHints = {
|
inlayHints = {
|
||||||
# includeInlayEnumMemberValueHints = true;
|
includeInlayEnumMemberValueHints = true;
|
||||||
# includeInlayFunctionLikeReturnTypeHints = true;
|
includeInlayFunctionLikeReturnTypeHints = true;
|
||||||
# includeInlayFunctionParameterTypeHints = true;
|
includeInlayFunctionParameterTypeHints = true;
|
||||||
# includeInlayParameterNameHints = "all";
|
includeInlayParameterNameHints = "all";
|
||||||
# includeInlayParameterNameHintsWhenArgumentMatchesName = true;
|
includeInlayParameterNameHintsWhenArgumentMatchesName = true;
|
||||||
# includeInlayPropertyDeclarationTypeHints = true;
|
includeInlayPropertyDeclarationTypeHints = true;
|
||||||
# includeInlayVariableTypeHints = true;
|
includeInlayVariableTypeHints = true;
|
||||||
# };
|
};
|
||||||
# in {
|
in {
|
||||||
# typescript-language-server.source = {
|
typescript-language-server.source = {
|
||||||
# addMissingImports.ts = true;
|
addMissingImports.ts = true;
|
||||||
# fixAll.ts = true;
|
fixAll.ts = true;
|
||||||
# organizeImports.ts = true;
|
organizeImports.ts = true;
|
||||||
# removeUnusedImports.ts = true;
|
removeUnusedImports.ts = true;
|
||||||
# sortImports.ts = true;
|
sortImports.ts = true;
|
||||||
# };
|
};
|
||||||
#
|
|
||||||
# typescript = {inherit inlayHints;};
|
typescript = {inherit inlayHints;};
|
||||||
# javascript = {inherit inlayHints;};
|
javascript = {inherit inlayHints;};
|
||||||
#
|
|
||||||
# hostInfo = "helix";
|
hostInfo = "helix";
|
||||||
# };
|
};
|
||||||
# };
|
};
|
||||||
|
|
||||||
# vscode-css-language-server = {
|
# vscode-css-language-server = {
|
||||||
# command = "${pkgs.nodePackages.vscode-langservers-extracted}/bin/vscode-css-languageserver";
|
# command = "${pkgs.nodePackages.vscode-langservers-extracted}/bin/vscode-css-languageserver";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue