64 |
64 |
65 ;;;; Packages ;;;; |
65 ;;;; Packages ;;;; |
66 (require 'package-require) |
66 (require 'package-require) |
67 (package-require '(rg company exec-path-from-shell expand-region vertico |
67 (package-require '(rg company exec-path-from-shell expand-region vertico |
68 orderless consult marginalia magit markdown-mode hgignore-mode move-text paredit |
68 orderless consult marginalia magit markdown-mode hgignore-mode move-text paredit |
69 rainbow-delimiters json-mode json-reformat flycheck |
69 rainbow-delimiters json-mode json-reformat flycheck treesit-auto |
70 solarized-theme terraform-mode visual-regexp yasnippet yaml-mode |
70 solarized-theme terraform-mode visual-regexp yasnippet yaml-mode |
71 emmet-mode)) |
71 emmet-mode)) |
72 |
72 |
73 ;; (custom-set-variables |
73 ;; (custom-set-variables |
74 ;; '(package-selected-packages |
74 ;; '(package-selected-packages |
211 |
210 |
212 |
211 |
213 ;;; markdown-mode |
212 ;;; markdown-mode |
214 (add-hook 'markdown-mode-hook 'flyspell-mode) |
213 (add-hook 'markdown-mode-hook 'flyspell-mode) |
215 (setq-default markdown-command "pandoc -f gfm") |
214 (setq-default markdown-command "pandoc -f gfm") |
|
215 |
|
216 |
|
217 ;;; treesit-auto (automatically use tree-sitter modes and install grammars) |
|
218 (global-treesit-auto-mode) |
216 |
219 |
217 |
220 |
218 ;;; html-mode |
221 ;;; html-mode |
219 (add-to-list 'auto-mode-alist '("\\.tpl\\'" . html-mode)) |
222 (add-to-list 'auto-mode-alist '("\\.tpl\\'" . html-mode)) |
220 (add-hook 'html-mode-hook 'emmet-mode) |
223 (add-hook 'html-mode-hook 'emmet-mode) |
261 ;; custom-set-variables was added by Custom. |
264 ;; custom-set-variables was added by Custom. |
262 ;; If you edit it by hand, you could mess it up, so be careful. |
265 ;; If you edit it by hand, you could mess it up, so be careful. |
263 ;; Your init file should contain only one such instance. |
266 ;; Your init file should contain only one such instance. |
264 ;; If there is more than one, they won't work right. |
267 ;; If there is more than one, they won't work right. |
265 '(package-selected-packages |
268 '(package-selected-packages |
266 '(magit-ido magit zencoding-mode yasnippet yaml-mode visual-regexp terraform-mode solarized-theme smex rg rainbow-delimiters paredit move-text markdown-mode json-reformat json-mode jinja2-mode hgignore-mode haskell-mode flycheck flx-ido expand-region exec-path-from-shell company-ansible auto-complete ansible-doc ac-js2))) |
269 '(magit yasnippet yaml-mode visual-regexp terraform-mode solarized-theme rg rainbow-delimiters paredit move-text markdown-mode json-reformat json-mode jinja2-mode hgignore-mode haskell-mode flycheck expand-region exec-path-from-shell company-ansible ansible-doc emmet-mode vertico orderless consult marginalia))) |
267 (custom-set-faces |
270 (custom-set-faces |
268 ;; custom-set-faces was added by Custom. |
271 ;; custom-set-faces was added by Custom. |
269 ;; If you edit it by hand, you could mess it up, so be careful. |
272 ;; If you edit it by hand, you could mess it up, so be careful. |
270 ;; Your init file should contain only one such instance. |
273 ;; Your init file should contain only one such instance. |
271 ;; If there is more than one, they won't work right. |
274 ;; If there is more than one, they won't work right. |