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