Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make lsp-ansible work on yaml-ts-mode buffers (#4052)
yaml-ts-mode derives from text-mode, so `(derived-mode-p 'yaml-mode)` returns `nil`. ```emacs-lisp (define-derived-mode yaml-ts-mode text-mode "YAML" "Major mode for editing YAML, powered by tree-sitter." :group 'yaml :syntax-table yaml-ts-mode--syntax-table [...]) ```
- Loading branch information