Update init.el

This commit is contained in:
Rawley
2023-09-21 17:27:52 -06:00
committed by GitHub
parent d9baeaaee2
commit 432469a015

32
init.el
View File

@@ -53,11 +53,16 @@
(require 'use-package) (require 'use-package)
;; Various modes ;; Various modes
(use-package raku-mode) (use-package raku-mode
(use-package web-mode) :ensure t)
(use-package json-mode) (use-package web-mode
(use-package php-mode) :ensure t)
(use-package dockerfile-mode) (use-package json-mode
:ensure t)
(use-package php-mode
:ensure t)
(use-package dockerfile-mode
:ensure t)
;; Enable defer and ensure by default for use-package ;; Enable defer and ensure by default for use-package
;; Keep auto-save/backup files separate from source code: https://github.com/scalameta/metals/issues/1027 ;; Keep auto-save/backup files separate from source code: https://github.com/scalameta/metals/issues/1027
@@ -224,6 +229,13 @@
)) ))
(add-to-list 'auto-mode-alist '("\\.html.ep\\'" . web-mode)) ; Mojolicious templates (add-to-list 'auto-mode-alist '("\\.html.ep\\'" . web-mode)) ; Mojolicious templates
;; Ruby
(use-package robe
:ensure t
:config
(add-hook 'ruby-mode-hook 'robe-mode)
(add-hook 'ruby-ts-mode-hook 'robe-mode))
;; OCaml ;; OCaml
(use-package tuareg (use-package tuareg
:ensure t :ensure t
@@ -252,7 +264,6 @@
:ensure t :ensure t
:config :config
(add-hook 'tuareg-mode-hook #'utop-minor-mode)) (add-hook 'tuareg-mode-hook #'utop-minor-mode))
(custom-set-variables (custom-set-variables
;; custom-set-variables was added by Custom. ;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
@@ -260,14 +271,7 @@
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(delete-selection-mode nil) '(delete-selection-mode nil)
'(package-selected-packages '(package-selected-packages
'(evil-mode ivy-rich counsel dap-mode company yasnippet lsp-ui lsp-metals lsp-mode sbt-mode yaml-mode web-mode tree-sitter-langs spinner smex scala-mode s raku-mode php-mode markdown-mode magit lv json-mode ht flycheck evil dracula-theme dockerfile-mode ctrlf centaur-tabs)) '(raku-mode yasnippet utop use-package tree-sitter-langs sbt-mode robe merlin-eldoc lsp-ui lsp-metals ivy-rich flycheck-ocaml evil dune counsel company)))
'(safe-local-variable-values
'((eval setq flycheck-perl-include-path
(add-to-list 'flycheck-perl-include-path
(concat
(expand-file-name
(locate-dominating-file default-directory ".dir-locals.el"))
"lib"))))))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.