Skip to content

Commit 2c3b594

Browse files
committed
Update yasnippet check
yasnippet is no longer eagerly loaded so featurep isn't correct.
1 parent 13c981e commit 2c3b594

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)