We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10b898e commit 9711b5dCopy full SHA for 9711b5d
lsp-dart-outline.el
@@ -138,7 +138,7 @@ RANGE is the range for currently build item."
138
(goto-char (-> range lsp--range-to-region car))
139
(->> (lsp-code-actions-at-point)
140
(-filter (-lambda ((&CodeAction :kind?))
141
- (and kind? (equal "refactor" kind?))))
+ (and kind? (string-match "^refactor" kind?))))
142
(-map (-lambda ((action &as &CodeAction :title))
143
`[,title (lsp-execute-code-action ,action)]))))))
144
0 commit comments