Skip to content

Commit 5ac89ea

Browse files
lsp-ansible: use new ansible mode name (#4631)
1 parent 646ef4c commit 5ac89ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clients/lsp-ansible.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,7 @@ Python virtual environment."
212212
This prevents the Ansible server from being turned on in all yaml files."
213213
(and (or (derived-mode-p 'yaml-mode)
214214
(derived-mode-p 'yaml-ts-mode))
215-
;; emacs-ansible provides ansible, not ansible-mode
216-
(with-no-warnings (bound-and-true-p ansible))))
215+
(bound-and-true-p ansible-mode)))
217216

218217
(declare-function lsp-completion--clear-cache "lsp-completion" (&optional keep-last-result))
219218

0 commit comments

Comments
 (0)