Skip to content

Commit ee476aa

Browse files
authored
Merge pull request #214 from daanturo/fix/yas-delay
Update yasnippet check
2 parents 13c981e + 2c3b594 commit ee476aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-dart.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ If unspecified, diagnostics will not be generated."
168168
(run-hook-with-args 'lsp-dart-flutter-outline-arrived-hook notification))))
169169
("$/analyzerStatus" #'ignore))
170170
:after-open-fn #'lsp-dart--activate-features
171-
:custom-capabilities `((experimental . ((snippetTextEdit . ,(and lsp-enable-snippet (featurep 'yasnippet))))))
171+
:custom-capabilities `((experimental . ((snippetTextEdit . ,(and lsp-enable-snippet (fboundp #'yas-minor-mode))))))
172172
:server-id 'dart_analysis_server))
173173

174174

0 commit comments

Comments
 (0)