mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-23 11:30:23 +10:00
Minor updates.
This commit is contained in:
@@ -19,7 +19,9 @@
|
||||
(use-package! fcitx
|
||||
:after evil
|
||||
:config
|
||||
(when (executable-find "fcitx-remote")
|
||||
(when (setq fcitx-remote-command
|
||||
(or (executable-find "fcitx5-remote")
|
||||
(executable-find "fcitx-remote")))
|
||||
(fcitx-evil-turn-on)))
|
||||
|
||||
|
||||
@@ -38,14 +40,9 @@ when exporting org-mode to html."
|
||||
:filter-args #'org-html-paragraph
|
||||
(cl-destructuring-bind (paragraph contents info) args
|
||||
(let* ((fix-regexp "[[:multibyte:]]")
|
||||
(origin-contents
|
||||
(replace-regexp-in-string
|
||||
"<[Bb][Rr] */>"
|
||||
""
|
||||
contents))
|
||||
(fixed-contents
|
||||
(replace-regexp-in-string
|
||||
(concat "\\(" fix-regexp "\\) *\n *\\(" fix-regexp "\\)")
|
||||
"\\1\\2"
|
||||
origin-contents)))
|
||||
contents)))
|
||||
(list paragraph fixed-contents info))))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
;; -*- no-byte-compile: t; -*-
|
||||
;;; input/chinese/packages.el
|
||||
|
||||
(package! pyim :pin "b934273bb33d6be6aea6e20e68930bc5aaf4a48a")
|
||||
(package! pyim :pin "e54153f462dd8cd8e9bb379e0483a2849ec94f42")
|
||||
(package! fcitx :pin "12dc2638ddd15c8f6cfaecb20e1f428ab2bb5624")
|
||||
(package! ace-pinyin :pin "8b2e9335b02486730ea4ceee790130cc5328f9ea")
|
||||
(package! pangu-spacing :pin "f92898949ba3bf991fd229416f3bbb54e9c6c223")
|
||||
|
||||
Reference in New Issue
Block a user