Add: extend +write module
This commit is contained in:
parent
c3fb916435
commit
562b8ba431
4 changed files with 102 additions and 1 deletions
51
modules/app/write/config.el
Normal file
51
modules/app/write/config.el
Normal file
|
@ -0,0 +1,51 @@
|
|||
;;; app/write/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(when (featurep! +langtool)
|
||||
(defvar +langtool-default-lang "en-US"
|
||||
"default language for langtool")
|
||||
(defvar +langtool-mother-tongue nil
|
||||
"mother tongue of user")
|
||||
(defvar +langtool-jar-path "/usr/local/Cellar/languagetool/4.0/libexec/languagetool-commandline.jar"
|
||||
"TODO")
|
||||
(def-package! langtool
|
||||
:commands (langtool-check
|
||||
langtool-check-done
|
||||
langtool-switch-default-language
|
||||
langtool-show-message-at-point
|
||||
langtool-correct-buffer)
|
||||
:init
|
||||
(setq langtool-default-language +langtool-default-lang
|
||||
langtool-mother-tongue +langtool-mother-tongue
|
||||
langtool-language-tool-jar +langtool-jar-path)))
|
||||
(when (featurep! +wordnut)
|
||||
(def-package! wordnut
|
||||
:commands (wordnut-search
|
||||
wordnut-lookup-current-word)))
|
||||
(when (featurep! +synosaurus)
|
||||
(def-package! synosaurus
|
||||
:commands (synosaurus-mode
|
||||
synosaurus-lookup
|
||||
synosaurus-choose-and-replace)
|
||||
:init
|
||||
(require 'synosaurus-wordnet)
|
||||
:config
|
||||
(setq synosaurus-choose-method 'default)))
|
||||
|
||||
(def-package! mixed-pitch
|
||||
:config
|
||||
(setq mixed-pitch-fixed-pitch-faces
|
||||
(append mixed-pitch-fixed-pitch-faces
|
||||
'(org-todo-keyword-todo
|
||||
org-todo-keyword-habt
|
||||
org-todo-keyword-done
|
||||
org-todo-keyword-wait
|
||||
org-todo-keyword-kill
|
||||
org-todo-keyword-outd
|
||||
org-special-keyword
|
||||
org-date
|
||||
org-property-value
|
||||
org-special-keyword
|
||||
org-property-value
|
||||
org-ref-cite-face
|
||||
org-tag
|
||||
font-lock-comment-face))))
|
Loading…
Add table
Add a link
Reference in a new issue