Remove font ligatures

This commit is contained in:
Marco Thomas
2022-04-21 12:35:01 +02:00
parent 5ad25d6615
commit 71df36b616
2 changed files with 6 additions and 19 deletions

View File

@@ -226,11 +226,11 @@ Forgive me, but I'm =evil=.
** Appearance ** Appearance
*** Fonts *** Fonts
I mainly use these fonts: I mainly use these fonts:
+ JuliaMono as main mono-spaced + JuliaMono Medium as main mono-spaced
+ Noto Emoji to show emojis in emacs + Noto Emoji to show emojis in emacs
+ Noto JP for japanese characters + Noto JP for japanese characters
#+begin_src emacs-lisp #+begin_src emacs-lisp
(set-face-attribute 'default nil :font "JuliaMono" :height 100) (set-face-attribute 'default nil :font "JuliaMono" :height 100 :weight 'medium)
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend) (set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend)
(set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append) (set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append)
#+end_src #+end_src
@@ -479,6 +479,7 @@ Bootstrap =org-mode= together with keybindings.
org-edit-src-content-indentation 0 ;; don't indent stupidly in org-edit-src-code org-edit-src-content-indentation 0 ;; don't indent stupidly in org-edit-src-code
org-log-done nil ;; just mark DONE without a time stamp org-log-done nil ;; just mark DONE without a time stamp
org-log-repeat nil ;; don't set a time after marking sth DONE org-log-repeat nil ;; don't set a time after marking sth DONE
org-descriptive-links nil ;; Always show plain links
) )
#+end_src #+end_src
@@ -858,15 +859,7 @@ In order for =lsp-mode= to work, it needs to compile code on the =fly=.
Basic =rust-mode= with some fancy characters. Basic =rust-mode= with some fancy characters.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package rust-mode (use-package rust-mode
:straight t :straight t)
:hook
(rust-mode . prettify-symbols-mode)
(rust-mode . (lambda ()
(push '("->" . ?→) prettify-symbols-alist)
(push '("=>" . ?⇒) prettify-symbols-alist)
(push '("!=" . ?≠) prettify-symbols-alist)
(push '("<=" . ?≤) prettify-symbols-alist)
(push '(">=" . ?≥) prettify-symbols-alist))))
#+end_src #+end_src
I want to use =rust-analyzer= and see inlay type hints for variables. I want to use =rust-analyzer= and see inlay type hints for variables.
@@ -892,13 +885,7 @@ are required.
:config :config
(setq haskell-stylish-on-save t) (setq haskell-stylish-on-save t)
:hook :hook
(haskell-mode . interactive-haskell-mode) (haskell-mode . interactive-haskell-mode))
(haskell-mode . prettify-symbols-mode)
(haskell-mode . (lambda ()
(push '("->" . ?→) prettify-symbols-alist)
(push '("<-" . ?←) prettify-symbols-alist)
(push '("=>" . ?⇒) prettify-symbols-alist)
)))
(use-package lsp-haskell (use-package lsp-haskell
:straight t :straight t

View File

@@ -20,7 +20,7 @@ DIR="%{$fg[blue]%}%~"
GIT="%{$fg[red]%}\$vcs_info_msg_0_" GIT="%{$fg[red]%}\$vcs_info_msg_0_"
# if [[ -n "$SSH_CONNECTION" ]]; then # if [[ -n "$SSH_CONNECTION" ]]; then
PC="%B%{$fg[yellow]%}%m%b " PC="%{$fg[yellow]%}%m "
# fi # fi
export PROMPT="${PC}${DIR}${GIT} ${ICON}%{$reset_color%} " export PROMPT="${PC}${DIR}${GIT} ${ICON}%{$reset_color%} "