mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-04 18:15:08 +02:00
plugins/typescript-tools: init (#966)
This commit is contained in:
parent
368f4d6a58
commit
56b1082525
3 changed files with 209 additions and 0 deletions
30
tests/test-sources/plugins/languages/typescript-tools.nix
Normal file
30
tests/test-sources/plugins/languages/typescript-tools.nix
Normal 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"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue