ligatures for victor mono
This commit is contained in:
46
.emacs
46
.emacs
@ -33,26 +33,38 @@
|
||||
'("language_server.bat")
|
||||
(eglot-alternatives
|
||||
'("language_server.sh"
|
||||
"/home/marmalade/dev/stuff/3rdparty/lexical/_build/dev/package/lexical/bin/start_lexical.sh"))))))
|
||||
"/home/rdiedrich/dev/3rdparty/lexical/_build/dev/package/lexical/bin/start_lexical.sh"))))))
|
||||
|
||||
(use-package elixir-ts-mode
|
||||
:ensure t
|
||||
:hook
|
||||
(elixir-ts-mode . eglot-ensure)
|
||||
(elixir-ts-mode
|
||||
.
|
||||
(lambda ()
|
||||
(push '(">=" . ?\u2265) prettify-symbols-alist)
|
||||
(push '("<=" . ?\u2264) prettify-symbols-alist)
|
||||
(push '("!=" . ?\u2260) prettify-symbols-alist)
|
||||
(push '("==" . ?\u2A75) prettify-symbols-alist)
|
||||
(push '("=~" . ?\u2245) prettify-symbols-alist)
|
||||
(push '("<-" . ?\u2190) prettify-symbols-alist)
|
||||
(push '("->" . ?\u2192) prettify-symbols-alist)
|
||||
(push '("<-" . ?\u2190) prettify-symbols-alist)
|
||||
(push '("|>" . ?\u25B7) prettify-symbols-alist)))
|
||||
(before-save . eglot-format))
|
||||
|
||||
(use-package ligature :ensure t
|
||||
:config
|
||||
;; Enable all Iosevka ligatures in programming modes
|
||||
(ligature-set-ligatures
|
||||
'prog-mode
|
||||
;; Iosevka
|
||||
;;'("<---" "<--" "<<-" "<-" "->" "-->" "--->" "<->" "<-->" "<--->" "<---->" "<!--"
|
||||
;; "<==" "<===" "<=" "=>" "=>>" "==>" "===>" ">=" "<=>" "<==>" "<===>" "<====>" "<!---"
|
||||
;; "<~~" "<~" "~>" "~~>" "::" ":::" "==" "!=" "===" "!=="
|
||||
;; ":=" ":-" ":+" "<*" "<*>" "*>" "<|" "<|>" "|>" "+:" "-:" "=:" "<******>" "++" "+++")
|
||||
'(
|
||||
"</" "</>" "/>" "~-" "-~" "~@" "<~" "<~>" "<~~" "~>" "~~" "~~>"
|
||||
">=" "<=" "<!--" "##" "###" "####" "|-" "-|" "|->" "<-|" ">-|"
|
||||
"|-<" "|=" "|=>" ">-" "<-" "<--" "-->" "->" "-<" ">->" ">>-"
|
||||
"<<-" "<->" "->>" "-<<" "<-<" "==>" "=>" "=/=" "!==" "!=" "<=="
|
||||
">>=" "=>>" ">=>" "<=>" "<=<" "=<=" "=>=" "<<=" "=<<" ".-" ".="
|
||||
"=:=" "=!=" "==" "===" "::" ":=" ":>" ":<" ">:" "<:" ";;" "=~"
|
||||
"!~" "::<" "<|" "<|>" "|>" "<>" "<$" "<$>" "$>" "<+" "<+>" "+>"
|
||||
"?=" "/=" "/==" "/\\" "\\/" "__" "&&" "++" "+++"
|
||||
))
|
||||
;; Enables ligature checks globally in all buffers. You can also do it
|
||||
;; per mode with `ligature-mode'.
|
||||
(global-ligature-mode t))
|
||||
|
||||
(use-package exec-path-from-shell
|
||||
:if (memq window-system '(mac ns x))
|
||||
:ensure t
|
||||
@ -194,13 +206,15 @@
|
||||
'(custom-enabled-themes '(leuven))
|
||||
'(inhibit-startup-screen t)
|
||||
'(initial-scratch-message nil)
|
||||
'(menu-bar-mode nil)
|
||||
'(package-selected-packages
|
||||
'(magit elixir-yasnippets consult-yasnippet rainbow-delimiters exec-path-from-shell elixir-mode elixir-ts-mode paredit par-edit org))
|
||||
'(color-theme-sanityinc-tomorrow ligature magit elixir-yasnippets consult-yasnippet rainbow-delimiters exec-path-from-shell elixir-mode elixir-ts-mode paredit par-edit org))
|
||||
'(scroll-bar-mode nil)
|
||||
'(tool-bar-mode nil))
|
||||
'(tool-bar-mode nil)
|
||||
'(tooltip-mode nil))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(default ((t (:family "Inconsolata" :foundry "PfEd" :slant normal :weight medium :height 158 :width normal)))))
|
||||
'(default ((t (:family "Victor Mono" :foundry "UKWN" :slant normal :weight regular :height 181 :width normal)))))
|
||||
|
Reference in New Issue
Block a user