- Remove init-workspace.el and redundant UI/font/autothemer setup - Add init-prog.el for programming language configs (treesit, lua, scheme, etc.) - Defer org-refile loading via org-mode hook - Adjust load order in init.el, add init-proxy - Fix indentation and formatting issues
42 lines
821 B
EmacsLisp
42 lines
821 B
EmacsLisp
;;; init.el --- init.el -*- lexical-binding: t -*-
|
|
|
|
;;; Commentary:
|
|
|
|
;;; Code:
|
|
|
|
;; tree-sitter
|
|
(use-package treesit-auto
|
|
:demand t
|
|
:config
|
|
(setq treesit-auto-install 'prompt)
|
|
(global-treesit-auto-mode)
|
|
(setq treesit-font-lock-level 4))
|
|
|
|
;; lua
|
|
(use-package lua-ts-mode
|
|
:mode ("\\.lua\\'" . lua-ts-mode)
|
|
:config
|
|
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-ts-mode)))
|
|
|
|
;; ahk
|
|
(use-package ahk-mode)
|
|
|
|
;; scheme
|
|
(use-package geiser
|
|
:config
|
|
(with-eval-after-load 'geiser
|
|
(setq geiser-default-implementation 'guile)))
|
|
|
|
;; markdown
|
|
(use-package markdown-mode
|
|
:mode ("README\\.md\\'" . gfm-mode)
|
|
:init (setq markdown-command "multimarkdown")
|
|
:bind (:map markdown-mode-map
|
|
("C-c C-e" . markdown-do)))
|
|
|
|
(use-package geiser-guile)
|
|
|
|
(provide 'init-prog)
|
|
|
|
;;; init-prog.el ends here
|