feat: interface improvements
This update works alongside the improvement to the colorscheme that this configuration uses.
This commit is contained in:
parent
c3538b9ea8
commit
afb3ff06e9
|
@ -20,16 +20,16 @@
|
|||
;; :init
|
||||
;; (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)) ; Enable flycheck-rust where flycheck is enabled. If not a rust file, does nothing.
|
||||
|
||||
(use-package flycheck-inline
|
||||
:after flycheck
|
||||
:hook
|
||||
(flycheck-mode . flycheck-inline-mode)) ; Enable flycheck-inline where flycheck is enabled
|
||||
;; (use-package flycheck-inline
|
||||
;; :after flycheck
|
||||
;; :hook
|
||||
;; (flycheck-mode . flycheck-inline-mode)) ; Enable flycheck-inline where flycheck is enabled
|
||||
|
||||
(use-package flycheck
|
||||
:hook prog-mode
|
||||
:init
|
||||
(with-eval-after-load 'flycheck
|
||||
(push 'rustic-clippy flycheck-checkers))) ; Use clippy for Rust
|
||||
;; (use-package flycheck
|
||||
;; :hook prog-mode
|
||||
;; :init
|
||||
;; (with-eval-after-load 'flycheck
|
||||
;; (push 'rustic-clippy flycheck-checkers))) ; Use clippy for Rust
|
||||
|
||||
;; eglot - Language Server Protocol ingegration
|
||||
(use-package eglot)
|
||||
|
@ -49,7 +49,7 @@
|
|||
(rust-format-on-save t)) ; Format on save
|
||||
|
||||
;; Disable flymake for eglot - in favour of flycheck
|
||||
(add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
|
||||
;; (add-hook 'eglot--managed-mode-hook (lambda () (flymake-mode -1)))
|
||||
|
||||
;; Lua
|
||||
(use-package lua-mode)
|
||||
|
|
|
@ -7,14 +7,11 @@
|
|||
;;
|
||||
;;; Code:
|
||||
|
||||
;; org-mode ;; org-superstar
|
||||
(use-package org-superstar
|
||||
:after org
|
||||
:custom
|
||||
;; Change org-mode's heading bullets
|
||||
(org-superstar-headline-bullets-list
|
||||
'("🞉" "🞈" "🞇" "🞆" "🞅" "🞄"))
|
||||
:hook org-mode)
|
||||
;; org-mode ;; org-modern
|
||||
;; Option 2: Globally
|
||||
(use-package org-modern
|
||||
:after org)
|
||||
(with-eval-after-load 'org (global-org-modern-mode))
|
||||
|
||||
;; Prevent the usage of automatic <> delimiters in org mode (conflict with snippets)
|
||||
(add-hook 'org-mode-hook (lambda ()
|
||||
|
@ -27,11 +24,11 @@
|
|||
(set-face-attribute 'org-level-8 nil :weight 'bold)
|
||||
(set-face-attribute 'org-level-7 nil :weight 'bold)
|
||||
(set-face-attribute 'org-level-6 nil :weight 'bold)
|
||||
(set-face-attribute 'org-level-5 nil :weight 'bold :height 1.1)
|
||||
(set-face-attribute 'org-level-4 nil :weight 'bold :height 1.2)
|
||||
(set-face-attribute 'org-level-3 nil :weight 'bold :height 1.3)
|
||||
(set-face-attribute 'org-level-2 nil :weight 'bold :height 1.4)
|
||||
(set-face-attribute 'org-level-1 nil :weight 'bold :height 1.5)
|
||||
(set-face-attribute 'org-level-5 nil :weight 'bold)
|
||||
(set-face-attribute 'org-level-4 nil :weight 'bold)
|
||||
(set-face-attribute 'org-level-3 nil :weight 'bold)
|
||||
(set-face-attribute 'org-level-2 nil :weight 'bold :height 1.05)
|
||||
(set-face-attribute 'org-level-1 nil :weight 'bold :height 1.15)
|
||||
(set-face-attribute 'org-document-title nil
|
||||
:height 1.65
|
||||
:foreground 'unspecified
|
||||
|
|
|
@ -7,4 +7,7 @@
|
|||
;;
|
||||
;;; Code:
|
||||
|
||||
(add-to-list 'custom-theme-load-path "~/Projects/hazakura-emacs")
|
||||
(load-theme 'hazakura t)
|
||||
|
||||
;;; init.el ends here
|
||||
|
|
Reference in a new issue