typos: Modify typos configuration and ignore typo check in doom init.el
This commit is contained in:
parent
0c9540a4a7
commit
2e4a532958
2 changed files with 8 additions and 4 deletions
|
|
@ -12,10 +12,10 @@ check-filename = true
|
|||
check-file = true
|
||||
unicode = true
|
||||
extend-ignore-re = [
|
||||
# Line ignore with trailling `(#|//) spellchecker: disable-line`
|
||||
"(?Rm)^.*(#|//)\\s*spellchecker: disable-line$",
|
||||
# Line block with `# spellchecker: <on|off>`
|
||||
"(?s)(#|//)\\s*spellchecker: off.*?\\n\\s*(#|//)\\s*spellchecker: on",
|
||||
# Line ignore with trailling `(#|//|;;) spellchecker: disable-line`
|
||||
"(?Rm)^.*(#|//|;;)\\s*typochecker: disable-line$",
|
||||
# Line block with `(#|;;|//) spellchecker: (on|off)`
|
||||
"(?s)(#|//|;;)\\s*typochecker: off.*?\\n\\s*(#|//|;;)\\s*typochecker: on",
|
||||
]
|
||||
extend-ignore-identifiers-re = ["als", "Paket", "ConfiguratioN", "StructurE"]
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
||||
;; directory (for easy access to its source code).
|
||||
|
||||
;; typochecker: off
|
||||
|
||||
(doom! :input
|
||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||
;;chinese
|
||||
|
|
@ -193,3 +195,5 @@
|
|||
:config
|
||||
;;literate
|
||||
(default +bindings +smartparens))
|
||||
|
||||
;; typochecker: on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue