From 2c3b594381f4d2f0ac23f8de0d0e3a55345d3769 Mon Sep 17 00:00:00 2001 From: Daanturo Date: Mon, 1 Apr 2024 23:29:42 +0700 Subject: [PATCH] Update yasnippet check yasnippet is no longer eagerly loaded so featurep isn't correct. --- lsp-dart.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsp-dart.el b/lsp-dart.el index fa8b740..b1f86ae 100644 --- a/lsp-dart.el +++ b/lsp-dart.el @@ -168,7 +168,7 @@ If unspecified, diagnostics will not be generated." (run-hook-with-args 'lsp-dart-flutter-outline-arrived-hook notification)))) ("$/analyzerStatus" #'ignore)) :after-open-fn #'lsp-dart--activate-features - :custom-capabilities `((experimental . ((snippetTextEdit . ,(and lsp-enable-snippet (featurep 'yasnippet)))))) + :custom-capabilities `((experimental . ((snippetTextEdit . ,(and lsp-enable-snippet (fboundp #'yas-minor-mode)))))) :server-id 'dart_analysis_server))