feat: interface improvements

This update works alongside the improvement to the colorscheme that
this configuration uses.
This commit is contained in:
Muhammad Nauman Raza 2023-06-27 22:54:04 +01:00
parent c3538b9ea8
commit afb3ff06e9
No known key found for this signature in database
GPG key ID: 4FFEEB78B8A620C7
3 changed files with 23 additions and 23 deletions

View file

@ -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)

View file

@ -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

View file

@ -7,4 +7,7 @@
;;
;;; Code:
(add-to-list 'custom-theme-load-path "~/Projects/hazakura-emacs")
(load-theme 'hazakura t)
;;; init.el ends here