Remove ligatures
This commit is contained in:
parent
146e49540b
commit
e570c705ea
38
init.el
38
init.el
|
@ -343,13 +343,13 @@
|
|||
|
||||
(use-package yasnippet
|
||||
:config
|
||||
(yas-global-mode)
|
||||
(advice-add #'yas-expand-snippet
|
||||
:around
|
||||
(lambda (oldfun &rest r)
|
||||
(let ((org-src-tab-acts-natively nil))
|
||||
(apply oldfun r)))
|
||||
'((name . my--yas-expand-disable-org-tab-native))))
|
||||
'((name . my--yas-expand-disable-org-tab-native)))
|
||||
(yas-global-mode))
|
||||
|
||||
(use-package yasnippet-snippets)
|
||||
|
||||
|
@ -743,27 +743,6 @@
|
|||
(use-package hl-todo
|
||||
:hook prog-mode)
|
||||
|
||||
(use-package ligature
|
||||
:hook
|
||||
prog-mode
|
||||
(ligature-mode . prettify-symbols-mode)
|
||||
:custom
|
||||
(prettify-symbols-unprettify-at-point t)
|
||||
:config
|
||||
(ligature-set-ligatures 'prog-mode '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>"
|
||||
":::" "::=" "=:=" "===" "==>" "=!=" "=>>" "=<<" "=/=" "!=="
|
||||
"!!." ">=>" ">>=" ">>>" ">>-" ">->" "->>" "-->" "---" "-<<"
|
||||
"<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->"
|
||||
"<--" "<-<" "<<=" "<<-" "<<<" "<+>" "</>" "###" "#_(" "..<"
|
||||
"..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~="
|
||||
"~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|"
|
||||
"[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:"
|
||||
">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:"
|
||||
"<$" "<=" "<>" "<-" "<<" "<+" "</" "#{" "#[" "#:" "#=" "#!"
|
||||
"##" "#(" "#?" "#_" "%%" ".=" ".-" ".." ".?" "+>" "++" "?:"
|
||||
"?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||
"\\\\" "://")))
|
||||
|
||||
(use-package gruvbox-theme)
|
||||
(use-package catppuccin-theme
|
||||
:demand t
|
||||
|
@ -822,6 +801,9 @@
|
|||
(message-citation-line-function #'message-insert-formatted-citation-line)
|
||||
(message-kill-buffer-on-exit t))
|
||||
|
||||
(defun my-double-space-sentence ()
|
||||
(setq-local sentence-end-double-space t))
|
||||
|
||||
(use-package mu4e
|
||||
:if my-is-nixos
|
||||
:ensure nil
|
||||
|
@ -829,7 +811,9 @@
|
|||
("C-c M m" . mu4e)
|
||||
("C-c M c" . mu4e-compose-new)
|
||||
("C-c M u" . mu4e-update-mail-and-index)
|
||||
:hook (mu4e-view-mode . my-inhibit-hl-line-mode)
|
||||
:hook
|
||||
(mu4e-view-mode . my-inhibit-hl-line-mode)
|
||||
(message-mode . my-double-space-sentence)
|
||||
:custom
|
||||
(mail-user-agent 'mu4e-user-agent)
|
||||
(mu4e-get-mail-command "mbsync -a")
|
||||
|
@ -896,6 +880,12 @@
|
|||
(append '((alpha-background . 1.0) (width . 120) (height . 20))
|
||||
emacs-everywhere-frame-parameters)))
|
||||
|
||||
(use-package prettify-symbols
|
||||
:ensure nil
|
||||
:hook prog-mode org-mode
|
||||
:custom
|
||||
(prettify-symbols-unprettify-at-point t))
|
||||
|
||||
(use-package ffap
|
||||
:ensure nil
|
||||
:demand t
|
||||
|
|
Loading…
Reference in a new issue