mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-24 16:30:58 -05:00
feat(docker): add treesit support
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
;;; tools/docker/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(assert! (or (not (modulep! +tree-sitter))
|
||||
(modulep! :tools tree-sitter))
|
||||
"This module requires (:tools tree-sitter)")
|
||||
|
||||
(assert! (or (not (modulep! +tree-sitter))
|
||||
(fboundp 'dockerfile-ts-mode))
|
||||
"Can't find `dockerfile-ts-mode'; Emacs 29.1+ is required")
|
||||
|
||||
(when (modulep! :editor format)
|
||||
(unless (executable-find "dockfmt")
|
||||
(warn! "Couldn't find dockfmt. Formatting will be disabled.")))
|
||||
|
Reference in New Issue
Block a user