plugins/typescript-tools: init (#966)

This commit is contained in:
garaiza-93 2024-01-26 07:41:10 -06:00 committed by GitHub
parent 368f4d6a58
commit 56b1082525
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 209 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{
empty = {plugins.typescript-tools.enable = true;};
# Upstream defaults (couldn't find defaults for on_attach or handlers)
defaults = {
plugins.typescript-tools = {
enable = true;
settings = {
separateDiagnosticServer = true;
publishDiagnosticOn = "insert_leave";
exposeAsCodeAction = null;
tsserverPath = null;
tsserverPlugins = null;
tsserverMaxMemory = "auto";
tsserverFormatOptions = null;
tsserverFilePreferences = null;
tsserverLocale = "en";
completeFunctionCalls = false;
includeCompletionsWithInsertText = true;
codeLens = "off";
disableMemberCodeLens = true;
jsxCloseTag = {
enable = false;
filetypes = ["javascriptreact" "typescriptreact"];
};
};
};
};
}