fixed ligatures

dev-docs
Moritz Böhme 2021-04-29 11:25:32 +02:00
parent 07717b61e8
commit a45839d068
1 changed files with 4 additions and 7 deletions

View File

@ -56,9 +56,6 @@
;; Set FiraCode as Font ;; Set FiraCode as Font
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 13) ) (setq doom-font (font-spec :family "FiraCode Nerd Font" :size 13) )
;; Projectile Settings
(setq projectile-project-root "~/Documents")
;; Switch Flyspell Dictionary ;; Switch Flyspell Dictionary
(defun fd-switch-dictionary() (defun fd-switch-dictionary()
(interactive) (interactive)
@ -69,14 +66,14 @@
)) ))
(global-set-key (kbd "<f8>") 'fd-switch-dictionary) (global-set-key (kbd "<f8>") 'fd-switch-dictionary)
;; Enable the www ligature in every possible major mode ;; ;; Enable the www ligature in every possible major mode
(ligature-set-ligatures 't '("www")) (ligature-set-ligatures 't '("www"))
;; Enable ligatures in programming modes ;; Enable ligatures in programming modes
(ligature-set-ligatures 'prog-mode '("www" "**" "***" "**/" "*>" "*/" "\\\\" "\\\\\\" "{-" "::" (ligature-set-ligatures 'prog-mode '("www" "**" "***" "**/" "*>" "*/" "::"
":::" ":=" "!!" "!=" "!==" "-}" "----" "-->" "->" "->>" ":::" ":=" "!!" "!=" "!==" "-->" "->" "->>"
"-<" "-<<" "-~" "#{" "#[" "##" "###" "####" "#(" "#?" "#_" "-<" "-<<" "-~" "#{" "#[" "##" "###" "####" "#(" "#?" "#_"
"#_(" ".-" ".=" ".." "..<" "..." "?=" "??" ";;" "/*" "/**" "#_(" ".-" ".=" ".." "..<" "..." "?=" "??" ";;" "/**"
"/=" "/==" "/>" "//" "///" "&&" "||" "||=" "|=" "|>" "^=" "$>" "/=" "/==" "/>" "//" "///" "&&" "||" "||=" "|=" "|>" "^=" "$>"
"++" "+++" "+>" "=:=" "==" "===" "==>" "=>" "=>>" "<=" "++" "+++" "+>" "=:=" "==" "===" "==>" "=>" "=>>" "<="
"=<<" "=/=" ">-" ">=" ">=>" ">>" ">>-" ">>=" ">>>" "<*" "=<<" "=/=" ">-" ">=" ">=>" ">>" ">>-" ">>=" ">>>" "<*"