Update to some modes
This commit is contained in:
parent
9f75c40785
commit
60b5177ddd
3
init.el
3
init.el
@ -7,6 +7,7 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
(global-ede-mode t)
|
(global-ede-mode t)
|
||||||
|
(global-font-lock-mode t)
|
||||||
|
|
||||||
;; whomp helpers
|
;; whomp helpers
|
||||||
(require 'whomp-helpers)
|
(require 'whomp-helpers)
|
||||||
@ -39,6 +40,8 @@
|
|||||||
(require 'whomp-development)
|
(require 'whomp-development)
|
||||||
;; AI configuration (temporarily removed pending consideration)
|
;; AI configuration (temporarily removed pending consideration)
|
||||||
;; (require 'whomp-ai)
|
;; (require 'whomp-ai)
|
||||||
|
;; games configuration
|
||||||
|
(require 'whomp-games)
|
||||||
;; org configuration
|
;; org configuration
|
||||||
(require 'whomp-orgmode)
|
(require 'whomp-orgmode)
|
||||||
;; dashboard
|
;; dashboard
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
(const :tag "rainbow-delimiters" rainbowmode) ;; rainbow-delimiters support
|
(const :tag "rainbow-delimiters" rainbowmode) ;; rainbow-delimiters support
|
||||||
(const :tag "terraform" terraformmode) ;; terraform language support
|
(const :tag "terraform" terraformmode) ;; terraform language support
|
||||||
(const :tag "z80" z80mode) ;; z80 assembly language support
|
(const :tag "z80" z80mode) ;; z80 assembly language support
|
||||||
|
(const :tag "typescript" typescriptmode) ;; typescript language support
|
||||||
)
|
)
|
||||||
:group 'whomp-config)
|
:group 'whomp-config)
|
||||||
|
|
||||||
@ -81,6 +82,14 @@
|
|||||||
(add-hook 'before-save-hook 'gofmt-before-save)
|
(add-hook 'before-save-hook 'gofmt-before-save)
|
||||||
(message "go-mode loaded"))
|
(message "go-mode loaded"))
|
||||||
|
|
||||||
|
;; typescript-mode
|
||||||
|
(when (memq 'typescriptmode whomp-development)
|
||||||
|
(use-package typescript-mode
|
||||||
|
:straight t
|
||||||
|
:defer t
|
||||||
|
:hook (typescript-mode-hook . turn-on-font-lock))
|
||||||
|
(message "typescript-mode loaded"))
|
||||||
|
|
||||||
;; python-mode
|
;; python-mode
|
||||||
(when (memq 'pythonmode whomp-development)
|
(when (memq 'pythonmode whomp-development)
|
||||||
(when (memq 'elpymode whomp-development)
|
(when (memq 'elpymode whomp-development)
|
||||||
@ -101,7 +110,9 @@
|
|||||||
|
|
||||||
;; yaml-mode
|
;; yaml-mode
|
||||||
(when (memq 'yamlmode whomp-development)
|
(when (memq 'yamlmode whomp-development)
|
||||||
(straight-use-package 'yaml-mode)
|
(use-package yaml-mode
|
||||||
|
:straight t
|
||||||
|
:defer t)
|
||||||
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode))
|
(add-to-list 'auto-mode-alist '("\\.yaml\\'" . yaml-mode))
|
||||||
;; yaml-mode is a bit too aggressive with its indentation
|
;; yaml-mode is a bit too aggressive with its indentation
|
||||||
|
21
whomp/whomp-games.el
Normal file
21
whomp/whomp-games.el
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
;;
|
||||||
|
;; Games packages
|
||||||
|
;; These are games not installed by default
|
||||||
|
;;
|
||||||
|
|
||||||
|
(defcustom whomp-games nil
|
||||||
|
"Include non-standard game packages."
|
||||||
|
:type '(set (const :tag "None" nil)
|
||||||
|
(const :tag "pacmacs" pacmacs-game) ;; code completion
|
||||||
|
)
|
||||||
|
:group 'whomp-config)
|
||||||
|
|
||||||
|
(when (memq 'pacmacs-game whomp-games)
|
||||||
|
(use-package pacmacs
|
||||||
|
:defer t
|
||||||
|
:ensure t)
|
||||||
|
(message "pacmacs loaded"))
|
||||||
|
|
||||||
|
(message "W.H.O.M.P. games packages loaded")
|
||||||
|
(provide 'whomp-games)
|
||||||
|
;; whomp-games.el ends here
|
Loading…
Reference in New Issue
Block a user