docs(emacs, fish): add eww-related features

Emacs: add yuck-mode with parinfer-rust-mode enabled by default.

Fish: add eww autocompletions
This commit is contained in:
Lucien Cartier-Tilet 2024-04-03 06:04:23 +02:00
parent f7b6ef1a4c
commit b4e585457b
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 16 additions and 0 deletions

View File

@ -808,6 +808,17 @@ When editing some scripts though, I need to use the built-in ~shell-mode~.
:mode "\\.yaml\\'")
#+end_src
*** yuck
This is one of the two file formats used by [[https://github.com/elkowar/eww/][eww]]s configuration, a
Lisp-like language. Therefore, it will also use [[file:./editing.md#parinfer][parinfer]] to manage its
parenthesis.
#+begin_src emacs-lisp
(use-package yuck-mode
:straight (:build t)
:defer t
:hook ((yuck-mode . parinfer-rust-mode)))
#+end_src
** General Programming Languages
*** C/C++
I know, I know, C and C++ no longer are closely related languages,

View File

@ -40,6 +40,11 @@ for fish.
direnv hook fish | source
#+end_src
I also use [[https://github.com/elkowar/eww/][eww]] for some widgets, lets load its shell completions.
#+begin_src fish
eww shell-completions --shell fish | source
#+end_src
Since I dont really have a better place on this website to put it,
here is my direnv configuration located at
=$HOME/.config/direnv/direnv.toml=.