Update packages
This commit is contained in:
parent
a3c196941a
commit
720d1c575e
2 changed files with 17 additions and 17 deletions
|
@ -1,16 +1,3 @@
|
||||||
(use-package eww
|
|
||||||
:defer t
|
|
||||||
:init
|
|
||||||
(add-hook 'eww-after-render-hook #'shrface-mode)
|
|
||||||
:custom
|
|
||||||
(shr-use-colors nil)
|
|
||||||
(shr-use-fonts nil)
|
|
||||||
(shr-inhibit-images t)
|
|
||||||
(shr-cookie-policy nil)
|
|
||||||
(browse-url-browser-function (quote eww-browse-url))
|
|
||||||
:config
|
|
||||||
(require 'shrface))
|
|
||||||
|
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:bind ("C-x w" . elfeed)
|
:bind ("C-x w" . elfeed)
|
||||||
:init
|
:init
|
||||||
|
|
|
@ -28,12 +28,27 @@
|
||||||
(defun mk/nov-font-settings ()
|
(defun mk/nov-font-settings ()
|
||||||
(setq-local line-spacing 2))
|
(setq-local line-spacing 2))
|
||||||
|
|
||||||
|
(use-package browse-url
|
||||||
|
:custom
|
||||||
|
(browse-url-browser-function 'eww-browse-url))
|
||||||
|
|
||||||
|
(use-package shrface
|
||||||
|
:hook ((eww-after-render . shrface-mode)
|
||||||
|
(nov-mode . shrface-mode))
|
||||||
|
:custom
|
||||||
|
(shr-use-colors nil)
|
||||||
|
(shr-use-fonts nil)
|
||||||
|
(shr-inhibit-images t)
|
||||||
|
(shr-cookie-policy nil))
|
||||||
|
|
||||||
|
(use-package eww
|
||||||
|
:config
|
||||||
|
(require 'shrface))
|
||||||
|
|
||||||
(use-package nov
|
(use-package nov
|
||||||
:hook ((nov-mode . visual-line-mode)
|
:hook ((nov-mode . visual-line-mode)
|
||||||
(nov-mode . mk/nov-font-settings))
|
(nov-mode . mk/nov-font-settings))
|
||||||
:mode ("\\.epub\\'" . nov-mode)
|
:mode ("\\.epub\\'" . nov-mode)
|
||||||
:init
|
|
||||||
(add-hook 'nov-mode-hook #'shrface-mode)
|
|
||||||
:custom
|
:custom
|
||||||
(nov-header-line-format nil)
|
(nov-header-line-format nil)
|
||||||
(nov-text-width 82)
|
(nov-text-width 82)
|
||||||
|
@ -46,7 +61,6 @@
|
||||||
;; (setq nov-unzip-program "c:/msys64/usr/bin/unzip.exe")))
|
;; (setq nov-unzip-program "c:/msys64/usr/bin/unzip.exe")))
|
||||||
|
|
||||||
(use-package eglot
|
(use-package eglot
|
||||||
:ensure nil
|
|
||||||
:hook ((typescript-mode . eglot-ensure)
|
:hook ((typescript-mode . eglot-ensure)
|
||||||
(js2-mode . eglot-ensure))
|
(js2-mode . eglot-ensure))
|
||||||
:config
|
:config
|
||||||
|
@ -56,7 +70,6 @@
|
||||||
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "ccls"))))
|
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "ccls"))))
|
||||||
|
|
||||||
(use-package sql
|
(use-package sql
|
||||||
:ensure nil
|
|
||||||
:config
|
:config
|
||||||
(when (eq system-type 'windows-nt)
|
(when (eq system-type 'windows-nt)
|
||||||
(setq sql-sqlite-options '("-interactive"))
|
(setq sql-sqlite-options '("-interactive"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue