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:
parent
f7b6ef1a4c
commit
b4e585457b
@ -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,
|
||||
|
@ -40,6 +40,11 @@ for fish.
|
||||
direnv hook fish | source
|
||||
#+end_src
|
||||
|
||||
I also use [[https://github.com/elkowar/eww/][eww]] for some widgets, let’s load its shell completions.
|
||||
#+begin_src fish
|
||||
eww shell-completions --shell fish | source
|
||||
#+end_src
|
||||
|
||||
Since I don’t really have a better place on this website to put it,
|
||||
here is my direnv configuration located at
|
||||
=$HOME/.config/direnv/direnv.toml=.
|
||||
|
Loading…
Reference in New Issue
Block a user