[Emacs] Add dotenv-mode package

This commit is contained in:
Lucien Cartier-Tilet 2022-07-12 04:30:18 +02:00
parent b208f19a8f
commit ca38157732
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 17 additions and 0 deletions

View File

@ -6369,6 +6369,23 @@ And finally, lets enable some Eldoc integration for CMake.
"yt" #'csv-yank-as-new-table))
#+end_src
**** Dotenv
:PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Programming-DSLs-Dotenv-b7kb2gr0kij0
:END:
It is not rare to encounter a dotenv file, that is, a file with either
the ~.env~ extension or simply called ~.env~. They contain environment
variables for projects which might rely on values you do not want to
upload to a public git repository and such. While their syntax is
similar to shell files, theyre not exactly shell files either since
theres rarely any script inside running. So, lets install a simple
package which will dumb down a lot ~sh-mode~ for these dotenv files.
#+begin_src emacs-lisp
(use-package dotenv-mode
:defer t
:straight (:build t))
#+end_src
**** Gnuplot
:PROPERTIES:
:CUSTOM_ID: Packages-Configuration-Programming-languages-DSLs-Gnuplot8zx5fl6184j0