Skip to content

Commit d7e41fe

Browse files
authored
Add Doom Emacs docs (#2039)
* Add doom emacs docs * Add link and backlink * Remove emacs.md
1 parent 5e1c66f commit d7e41fe

File tree

3 files changed

+35
-6
lines changed

3 files changed

+35
-6
lines changed

docs/editors/emacs.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/editors/emacs.org

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#+title: Emacs
2+
[[../introduction.md][<- Back: Getting started]]
3+
4+
* Emacs setup
5+
** Doom
6+
In =init.el=, (usually =~/.config/doom/init.el=)
7+
8+
*** :lang
9+
10+
#+begin_src elisp
11+
:lang
12+
;; Frontend (React)
13+
(javascript +lsp +tree-sitter) ; JS/TS
14+
(web +lsp) ; HTML, React, SCSS/CSS.
15+
16+
(python
17+
+lsp
18+
+tree-sitter)
19+
20+
;; Not essential
21+
(yaml)
22+
(sh)
23+
#+end_src
24+
25+
*** :tools
26+
27+
#+begin_src elisp
28+
:tools
29+
(magit) ; Best emacs package ever made
30+
31+
(docker +lsp) ; Container management & syntax highlighting for Dockerfiles
32+
(format +onsave)
33+
(lsp +peek)
34+
#+end_src

docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ you're not sure which to pick, just ask someone in MG::Web!
3333
* [JetBrains (WebStorm, PyCharm, etc...)](./editors/jetbrains.md)
3434
* [VS Code](./editors/vscode.md)
3535
* [Vim/Neovim](./editors/vim.md)
36-
* [Emacs](./editors/emacs.md)
36+
* [Emacs](./editors/emacs.org)

0 commit comments

Comments
 (0)