Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions clients/lsp-javascript.el
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,12 @@ workspace."
:type 'boolean
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-prefer-type-only-auto-imports nil
"Prefer to put the `type` keyword before auto-generated imports,
when they are used only in a type checking context."
:type 'boolean
:package-version '(lsp-mode . "9.0.1"))

(defcustom lsp-javascript-preferences-quote-style "auto" nil
:type '(choice
(const "auto")
Expand Down Expand Up @@ -690,6 +696,7 @@ name (e.g. `data' variable passed as `data' parameter)."
("typescript.locale" lsp-typescript-locale)
("typescript.npm" lsp-typescript-npm)
("typescript.preferences.importModuleSpecifier" lsp-typescript-preferences-import-module-specifier)
("typescript.preferences.preferTypeOnlyAutoImports" lsp-typescript-prefer-type-only-auto-imports t)
("typescript.preferences.quoteStyle" lsp-typescript-preferences-quote-style)
("typescript.preferences.renameShorthandProperties" lsp-typescript-preferences-rename-shorthand-properties t)
("typescript.referencesCodeLens.enabled" lsp-typescript-references-code-lens-enabled t)
Expand Down