Better comments in emacs config

This commit is contained in:
Charlotte Van Petegem 2021-03-19 15:22:38 +01:00
parent 305d6fce40
commit fbe494f981
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -9,9 +9,9 @@
;; Dependencies that inject `:keywords' into `use-package' should be ;; Dependencies that inject `:keywords' into `use-package' should be
;; included before all other packages. ;; included before all other packages.
;; For :diminish in (use-package). ;; For :diminish in (use-package). Hides minor modes from the status line.
(use-package diminish) (use-package diminish)
;; For :general in (use-package) and keybindings management. ;; For :general in (use-package). Keybinding management framework.
(use-package general (use-package general
:config :config
(general-evil-setup t) (general-evil-setup t)
@ -89,7 +89,7 @@
;; Should probably switch to ligature.el, but it isn't on MELPA (yet). ;; Should probably switch to ligature.el, but it isn't on MELPA (yet).
(use-package fira-code-mode :config (when window-system (global-fira-code-mode))) (use-package fira-code-mode :config (when window-system (global-fira-code-mode)))
;; Linting integration ;; Linting
(use-package flycheck (use-package flycheck
:diminish (flycheck-mode) :diminish (flycheck-mode)
:config (global-flycheck-mode) :config (global-flycheck-mode)
@ -182,7 +182,7 @@
;; Ripgrep support (needed for `projectile-ripgrep') ;; Ripgrep support (needed for `projectile-ripgrep')
(use-package ripgrep) (use-package ripgrep)
;; `ivy'-integrated `/' ;; `ivy'-integrated buffer search
(use-package swiper (use-package swiper
:general :general
(nmap (nmap
@ -194,7 +194,9 @@
;; HTML (and HTML template) support ;; HTML (and HTML template) support
(use-package web-mode (use-package web-mode
:mode "\\.html\\.erb\\'") :mode "\\.html'"
:mode "\\.html\\.erb\\'"
)
;; Show keybindings ;; Show keybindings
(use-package which-key (use-package which-key
@ -210,7 +212,7 @@
;; Enable basic auto pairs. Maybe replace this with something more ;; Enable basic auto pairs. Maybe replace this with something more
;; advanced later? Look into configuring pairs for frequently used ;; advanced later? Look into configuring pairs for frequently used
;; modes. ;; major modes.
(electric-pair-mode) (electric-pair-mode)
;; Always display line numbers ;; Always display line numbers