[Emacs] Added languagetool layer, added ligature support, new font
This commit adds the `languagetool' layer to my Emacs configuration. Since Emacs 27.1, fonts ligatures are supported with Cairo. The `unicode-fonts' adds support for such feature using `ligatures.el'. Due to the modification above, I changed my default font to Cascadia Code.
This commit is contained in:
parent
9e20e165b0
commit
48dcac5479
@ -286,7 +286,22 @@
|
|||||||
In this category, again, one layer is enabled: ~unicode-fonts~. This layer
|
In this category, again, one layer is enabled: ~unicode-fonts~. This layer
|
||||||
addssupport for the ~unicode-fonts~ package.
|
addssupport for the ~unicode-fonts~ package.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
unicode-fonts
|
(unicode-fonts :variables
|
||||||
|
unicode-fonts-enable-ligatures t
|
||||||
|
unicode-fonts-ligature-modes '(prog-mode)
|
||||||
|
unicode-fonts-ligature-set '("|||>" "<|||" "<==>" "<!--" "####" "~~>" "***" "||=" "||>"
|
||||||
|
":::" "::=" "=:=" "===" "==>" "=!=" "=>>" "=<<" "=/=" "!=="
|
||||||
|
"!!." ">=>" ">>=" ">>>" ">>-" ">->" "->>" "-->" "---" "-<<"
|
||||||
|
"<~~" "<~>" "<*>" "<||" "<|>" "<$>" "<==" "<=>" "<=<" "<->"
|
||||||
|
"<--" "<-<" "<<=" "<<-" "<<<" "<+>" "</>" "###" "#_(" "..<"
|
||||||
|
"..." "+++" "/==" "///" "_|_" "www" "&&" "^=" "~~" "~@" "~="
|
||||||
|
"~>" "~-" "**" "*>" "*/" "||" "|}" "|]" "|=" "|>" "|-" "{|"
|
||||||
|
"[|" "]#" "::" ":=" ":>" ":<" "$>" "==" "=>" "!=" "!!" ">:"
|
||||||
|
">=" ">>" ">-" "-~" "-|" "->" "--" "-<" "<~" "<*" "<|" "<:"
|
||||||
|
"<$" "<=" "<>" "<-" "<<" "<+" "</" "#{" "#[" "#:" "#=" "#!"
|
||||||
|
"##" "#(" "#?" "#_" "%%" ".=" ".-" ".." ".?" "+>" "++" "?:"
|
||||||
|
"?=" "?." "??" ";;" "/*" "/=" "/>" "//" "__" "~~" "(*" "*)"
|
||||||
|
"\\" "://"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Fun
|
*** Fun
|
||||||
@ -552,6 +567,16 @@
|
|||||||
restclient-use-org t)
|
restclient-use-org t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
LanguageTool works with Flyspell and will check for grammatical issues in my
|
||||||
|
english texts.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(languagetool :variables
|
||||||
|
langtool-default-language "en-US"
|
||||||
|
languagetool-show-error-on-jump t
|
||||||
|
langtool-java-classpath "/usr/share/languagetool:/usr/share/java/languagetool/*")
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
And finally, we also have the Shell layer for which I specified its default
|
And finally, we also have the Shell layer for which I specified its default
|
||||||
height when spawning at the bottom of the screen should be 40 lines high,
|
height when spawning at the bottom of the screen should be 40 lines high,
|
||||||
and the default shell to invoke is Eshell.
|
and the default shell to invoke is Eshell.
|
||||||
@ -853,7 +878,7 @@
|
|||||||
The below variable sets either the default font or a prioritized list of
|
The below variable sets either the default font or a prioritized list of
|
||||||
fonts to be used by Emacs.
|
fonts to be used by Emacs.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq-default dotspacemacs-default-font '("DejaVu Sans Mono for Powerline"
|
(setq-default dotspacemacs-default-font '("Cascadia Code"
|
||||||
:size 9.0))
|
:size 9.0))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@ -2972,7 +2997,6 @@
|
|||||||
(spacemacs/set-leader-keys "oF" 'helm-locate)
|
(spacemacs/set-leader-keys "oF" 'helm-locate)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
And that’s it! This should list all my org files under these directories and
|
And that’s it! This should list all my org files under these directories and
|
||||||
give me fuzzy finding for these files. I just need to partially type the
|
give me fuzzy finding for these files. I just need to partially type the
|
||||||
name of the file I want to open and it should open without any issue.
|
name of the file I want to open and it should open without any issue.
|
||||||
|
Loading…
Reference in New Issue
Block a user