Update doom-modeline faces, add flymake end of line diagnostics, add nix-ts-mode package
This commit is contained in:
parent
9499c13dfa
commit
453a90c210
23
init.el
23
init.el
|
@ -86,9 +86,8 @@
|
||||||
(size-indication-mode -1)
|
(size-indication-mode -1)
|
||||||
(doom-modeline-mode +1)
|
(doom-modeline-mode +1)
|
||||||
:config
|
:config
|
||||||
;; (set-face-attribute 'doom-modeline nil :weight 'normal)
|
(set-face-attribute 'doom-modeline nil :weight 'normal)
|
||||||
;; (set-face-attribute 'doom-modeline-buffer-path nil :slant 'normal)
|
(set-face-attribute 'doom-modeline-buffer-path nil :slant 'normal))
|
||||||
)
|
|
||||||
|
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
:if (package-installed-p 'dashboard)
|
:if (package-installed-p 'dashboard)
|
||||||
|
@ -324,10 +323,10 @@
|
||||||
|
|
||||||
(with-eval-after-load 'mu4e
|
(with-eval-after-load 'mu4e
|
||||||
(require 'mu4e-modeline)
|
(require 'mu4e-modeline)
|
||||||
(setq mu4e-modeline-all-read '("R:" . " :")
|
(setq mu4e-modeline-all-read '("" . "")
|
||||||
mu4e-modeline-all-clear '("C:" . " :")
|
mu4e-modeline-all-clear '("" . "")
|
||||||
mu4e-modeline-new-items '("N:" . " :")
|
mu4e-modeline-new-items '("" . "")
|
||||||
mu4e-modeline-unread-items '("U:" . " :"))
|
mu4e-modeline-unread-items '("" . ""))
|
||||||
(mu4e-modeline-mode +1))
|
(mu4e-modeline-mode +1))
|
||||||
|
|
||||||
(with-eval-after-load 'mu4e
|
(with-eval-after-load 'mu4e
|
||||||
|
@ -1185,7 +1184,9 @@
|
||||||
(use-package flymake
|
(use-package flymake
|
||||||
:bind (("C-c C-." . flymake-goto-next-error)
|
:bind (("C-c C-." . flymake-goto-next-error)
|
||||||
("C-c C-," . flymake-goto-prev-error))
|
("C-c C-," . flymake-goto-prev-error))
|
||||||
:hook ((prog-mode yaml-ts-mode) . (lambda () (flymake-mode +1))))
|
:hook ((prog-mode yaml-ts-mode) . (lambda () (flymake-mode +1)))
|
||||||
|
:custom
|
||||||
|
(flymake-show-diagnostics-at-end-of-line 'short))
|
||||||
|
|
||||||
(use-package flymake-shellcheck
|
(use-package flymake-shellcheck
|
||||||
:if (package-installed-p 'flymake-shellcheck)
|
:if (package-installed-p 'flymake-shellcheck)
|
||||||
|
@ -1266,7 +1267,6 @@
|
||||||
|
|
||||||
(use-package nix-mode
|
(use-package nix-mode
|
||||||
:if (package-installed-p 'nix-mode)
|
:if (package-installed-p 'nix-mode)
|
||||||
:mode "\\.nix$"
|
|
||||||
:functions nix-prettify-global-mode
|
:functions nix-prettify-global-mode
|
||||||
:config
|
:config
|
||||||
(require 'nix)
|
(require 'nix)
|
||||||
|
@ -1275,6 +1275,11 @@
|
||||||
(require 'nix-store)
|
(require 'nix-store)
|
||||||
(nix-prettify-global-mode +1))
|
(nix-prettify-global-mode +1))
|
||||||
|
|
||||||
|
(use-package nix-ts-mode
|
||||||
|
:if (package-installed-p 'nix-ts-mode)
|
||||||
|
:after nix-mode
|
||||||
|
:mode "\\.nix$")
|
||||||
|
|
||||||
(use-package sh-script
|
(use-package sh-script
|
||||||
:custom
|
:custom
|
||||||
(sh-basic-offset 2))
|
(sh-basic-offset 2))
|
||||||
|
|
Loading…
Reference in a new issue