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