Skip to content

Commit 46d1a7e

Browse files
committed
Add lsp-vetur-language-features-code-actions
Fixes #2226
1 parent 9a79593 commit 46d1a7e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clients/lsp-vetur.el

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ TypeScript."
7474
:group 'lsp-vetur
7575
:package-version '(lsp-mode . "6.1"))
7676

77+
(defcustom lsp-vetur-language-features-code-actions t
78+
"Enable/disable code actions."
79+
:type 'boolean
80+
:group 'lsp-vetur
81+
:package-version '(lsp-mode . "7.1"))
82+
7783
(defcustom lsp-vetur-validation-style t
7884
"Validate css/scss/less/postcss in <style>"
7985
:type 'boolean
@@ -794,6 +800,7 @@ Code's JavaScript and TypeScript support."
794800
("vetur.validation.script" lsp-vetur-validation-script t)
795801
("vetur.validation.style" lsp-vetur-validation-style t)
796802
("vetur.validation.template" lsp-vetur-validation-template t)
803+
("vetur.languageFeatures.codeActions" lsp-vetur-language-features-code-actions t)
797804
("vetur.grammar.customBlocks" lsp-vetur-grammar-custom-blocks)
798805
("vetur.completion.tagCasing" lsp-vetur-completion-tag-casing)
799806
("vetur.completion.useScaffoldSnippets" lsp-vetur-completion-use-scaffold-snippets t)

0 commit comments

Comments
 (0)