~pretty-code snippet: delete offending item
This commit is contained in:
@@ -135,11 +135,11 @@ Add CMakeLists.txt to projectile-project-roots.
|
|||||||
** Prettify symbols
|
** Prettify symbols
|
||||||
Configuration for the module (pretty-code).
|
Configuration for the module (pretty-code).
|
||||||
*** Setup symbols
|
*** Setup symbols
|
||||||
Some symbols aren't present in the current doom version, or my fonts are
|
Some symbols aren't present in the current doom version, or my fonts are screwing up, so I wrote them here.
|
||||||
screwing up, so I wrote them here. Maybe a bit of a bandage over broken glass,
|
Maybe a bit of a bandage over broken glass, but still at least it's something.
|
||||||
but still at least it's something.
|
|
||||||
#+BEGIN_SRC elisp
|
#+BEGIN_SRC elisp
|
||||||
(setq +pretty-code-symbols '(:name "»"
|
(setq +pretty-code-symbols
|
||||||
|
'(:name "»"
|
||||||
:src_block "»"
|
:src_block "»"
|
||||||
:src_block_end "«"
|
:src_block_end "«"
|
||||||
:quote "“"
|
:quote "“"
|
||||||
@@ -168,9 +168,16 @@ but still at least it's something.
|
|||||||
:pipe "|"
|
:pipe "|"
|
||||||
:dot "•"))
|
:dot "•"))
|
||||||
#+END_SRC
|
#+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
|
*** Pretty symbols
|
||||||
Setup pretty symbols specifically for C++. I import the string type via `using
|
Setup pretty symbols specifically for C++.
|
||||||
std::string` which isn't supported in standard doom. So I add support for it.
|
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
|
#+BEGIN_SRC elisp
|
||||||
(after! cc-mode
|
(after! cc-mode
|
||||||
(set-pretty-symbols!
|
(set-pretty-symbols!
|
||||||
|
|||||||
Reference in New Issue
Block a user