Skip to content

Commit

Permalink
lsp-ansible: use new ansible mode name
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericgiquel committed Nov 30, 2024
1 parent 646ef4c commit 64f194f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/lsp-ansible.el
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,7 @@ Python virtual environment."
This prevents the Ansible server from being turned on in all yaml files."
(and (or (derived-mode-p 'yaml-mode)
(derived-mode-p 'yaml-ts-mode))
;; emacs-ansible provides ansible, not ansible-mode
(with-no-warnings (bound-and-true-p ansible))))
(bound-and-true-p ansible-mode)))

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

Expand Down

0 comments on commit 64f194f

Please sign in to comment.