2023-05-27 19:48:19 +00:00
|
|
|
(use-package dockerfile-ts-mode
|
|
|
|
:pin manual
|
|
|
|
:mode (
|
|
|
|
("Dockerfile\\'" . dockerfile-ts-mode)
|
|
|
|
)
|
2023-05-27 17:17:00 +00:00
|
|
|
:commands (dockerfile-mode dockerfile-ts-mode)
|
|
|
|
:init
|
|
|
|
(add-to-list 'major-mode-remap-alist '(dockerfile-mode . dockerfile-ts-mode))
|
|
|
|
(add-to-list 'treesit-language-source-alist '(dockerfile "https://github.com/camdencheek/tree-sitter-dockerfile"))
|
|
|
|
(unless (treesit-ready-p 'dockerfile) (treesit-install-language-grammar 'dockerfile))
|
|
|
|
)
|
|
|
|
|
|
|
|
(provide 'lang-dockerfile)
|