Move lang files
Some checks are pending
/ Test config on ${{matrix.node}} (20) (push) Waiting to run

This commit is contained in:
Maciej 2024-07-27 10:52:59 +03:00
parent bf90b046b8
commit 1f20dd7bc1
Signed by: maciej
GPG key ID: 41D62D42D3B0D765
27 changed files with 81 additions and 82 deletions

View file

@ -1,42 +0,0 @@
;;; other.el --- summary -*- lexical-binding: t; -*-
;; Author: Maciej Szlosarczyk
;; Maintainer: Maciej Szlosarczyk
;; Version: 0.1-snapshot
;;; Commentary:
;; Load other languages or syntaxes configuration that do not fit anywhere else.
;;; Code:
;; Infrastructure files
(use-package dockerfile-mode :straight t :defer t)
(use-package docker :straight t :defer t :ensure t)
(use-package terraform-mode :straight t :defer t)
(use-package ansible :straight t :defer t)
(use-package nginx-mode :straight t :defer t)
(use-package jenkinsfile-mode :straight t :defer t)
(use-package lua-mode :straight t :defer t)
(use-package graphql-mode :straight t :defer t)
(add-to-list 'auto-mode-alist '("\\.graphqls\\'" . graphql-mode))
;; Yaml
(use-package yaml-mode :straight t :defer t :requires (lsp))
(defun +custom-lang-yaml/activate-yaml-mode ()
"Activate yaml-mode."
(lsp))
(add-hook 'yaml-mode-hook '+custom-lang-yaml/activate-yaml-mode)
;; Other text files
(use-package json-mode :straight t :defer t)
(use-package git-modes
:straight t
:defer t
:hook ((gitignore-mode . whitespace-mode)
(before-save . whitespace-cleanup)))
(provide '+custom-lang-other)
;;; other.el ends here