Skip to content

Commit

Permalink
Fix typescript custom groups (#4638)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyuenho authored Dec 21, 2024
1 parent fda77f7 commit 791d9a3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions clients/lsp-javascript.el
Original file line number Diff line number Diff line change
Expand Up @@ -157,48 +157,48 @@ See https://github.com/typescript-language-server/typescript-language-server#ini
(defcustom lsp-typescript-tsdk nil
"Specifies the folder path containing tsserver and lib*.d.ts files to use."
:type '(repeat string)
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-disable-automatic-type-acquisition nil
"Disables automatic type acquisition.
Automatic type acquisition fetches `@types` packages from npm to improve
IntelliSense for external libraries."
:type 'boolean
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-npm nil
"Specifies the path to the NPM exec used for Automatic Type Acquisition.
Requires using TypeScript 2.3.4 or newer in the
workspace."
:type '(repeat string)
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-check-npm-is-installed t
"Check if NPM is installed for Automatic Type Acquisition."
:type 'boolean
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-javascript-references-code-lens-enabled nil
"Enable/disable references CodeLens in JavaScript files."
:type 'boolean
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-references-code-lens-enabled nil
"Enable/disable references CodeLens in TypeScript files."
:type 'boolean
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-implementations-code-lens-enabled nil
"Enable/disable implementations CodeLens.
This CodeLens shows the implementers of an interface."
:type 'boolean
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-tsserver-log "off"
Expand All @@ -211,7 +211,7 @@ from your project."
(const "terse")
(const "normal")
(const "verbose"))
:group 'lsp-vetur
:group 'lsp-typescript
:package-version '(lsp-mode . "6.1"))

(defcustom lsp-typescript-tsserver-plugin-paths nil
Expand Down

0 comments on commit 791d9a3

Please sign in to comment.