aboutsummaryrefslogtreecommitdiff
path: root/Doom/.doom.d
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-05-25 01:49:23 +0100
committerdx <aryadevchavali1@gmail.com>2020-05-25 01:49:23 +0100
commit93fbe65c27be9d8a46a1b52d3fb29e493f2a01cc (patch)
tree06f9f024ef8c175916d032834931d23026bab723 /Doom/.doom.d
parent6ac0098997af6a4a694062972a0337cea3306826 (diff)
downloaddotfiles-93fbe65c27be9d8a46a1b52d3fb29e493f2a01cc.tar.gz
dotfiles-93fbe65c27be9d8a46a1b52d3fb29e493f2a01cc.tar.bz2
dotfiles-93fbe65c27be9d8a46a1b52d3fb29e493f2a01cc.zip
~pretty-code snippet: delete offending item
Diffstat (limited to 'Doom/.doom.d')
-rw-r--r--Doom/.doom.d/org/config.org75
1 files changed, 41 insertions, 34 deletions
diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org
index 4d76d02..6a8dea2 100644
--- a/Doom/.doom.d/org/config.org
+++ b/Doom/.doom.d/org/config.org
@@ -135,42 +135,49 @@ Add CMakeLists.txt to projectile-project-roots.
** Prettify symbols
Configuration for the module (pretty-code).
*** Setup symbols
-Some symbols aren't present in the current doom version, or my fonts are
-screwing up, so I wrote them here. Maybe a bit of a bandage over broken glass,
-but still at least it's something.
-#+BEGIN_SRC elisp
-(setq +pretty-code-symbols '(:name "»"
- :src_block "»"
- :src_block_end "«"
- :quote "“"
- :quote_end "”"
- :lambda "λ"
- :def "ƒ"
- :composition "∘"
- :map "↦"
- :null "∅"
- :true "𝕋"
- :false "𝔽"
- :int "ℤ"
- :float "ℝ"
- :str "𝕊"
- :bool "𝔹"
- :not "¬"
- :in "∈"
- :not-in "∉"
- :and "∧"
- :or "∨"
- :for "∀"
- :some "∃"
- :return "⟼"
- :yield "⟻"
- :tuple "⨂"
- :pipe "|"
- :dot "•"))
+Some symbols aren't present in the current doom version, or my fonts are screwing up, so I wrote them here.
+Maybe a bit of a bandage over broken glass, but still at least it's something.
+#+BEGIN_SRC elisp
+(setq +pretty-code-symbols
+ '(:name "»"
+ :src_block "»"
+ :src_block_end "«"
+ :quote "“"
+ :quote_end "”"
+ :lambda "λ"
+ :def "ƒ"
+ :composition "∘"
+ :map "↦"
+ :null "∅"
+ :true "𝕋"
+ :false "𝔽"
+ :int "ℤ"
+ :float "ℝ"
+ :str "𝕊"
+ :bool "𝔹"
+ :not "¬"
+ :in "∈"
+ :not-in "∉"
+ :and "∧"
+ :or "∨"
+ :for "∀"
+ :some "∃"
+ :return "⟼"
+ :yield "⟻"
+ :tuple "⨂"
+ :pipe "|"
+ :dot "•"))
+#+END_SRC
+
+The 'x' symbol in the =+pretty-code-fira-code-font-ligatures= is annoying, and unneeded.
+So I remove it.
+#+BEGIN_SRC elisp
+(assoc-delete-all "x" +pretty-code-fira-code-font-ligatures #'string=)
#+END_SRC
*** Pretty symbols
-Setup pretty symbols specifically for C++. I import the string type via `using
-std::string` which isn't supported in standard doom. So I add support for it.
+Setup pretty symbols specifically for C++.
+I import the string type via `using std::string` which isn't supported in standard doom.
+So I add support for it.
#+BEGIN_SRC elisp
(after! cc-mode
(set-pretty-symbols!