summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2022-07-24 16:11:16 +0200
committerMarius Peter <marius.peter@tutanota.com>2022-07-24 16:11:16 +0200
commit2411e6465cc90c28ba96814adb69396abc3701c5 (patch)
tree569ede980bc3a989b92e2f5979a78642577495ef
parent7e25a4fefa0e5f8a90c64cda257732059e0f3adf (diff)
Spelling, completion, nginx-mode.
-rw-r--r--smart-documents.org20
1 files changed, 12 insertions, 8 deletions
diff --git a/smart-documents.org b/smart-documents.org
index 8fa4cb2..624db32 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -745,12 +745,12 @@ shortcomings.
#+NAME: flyspell
#+BEGIN_SRC emacs-lisp :tangle yes
(use-package flyspell)
- ;; (add-hook 'text-mode-hook 'flyspell-mode)
+ (add-hook 'text-mode-hook 'flyspell-mode)
#+END_SRC
*** Completion
-#+BEGIN_SRC emacs-lisp :tangle no
+#+BEGIN_SRC emacs-lisp :tangle yes
(use-package company)
(add-hook 'after-init-hook 'global-company-mode)
#+END_SRC
@@ -1019,6 +1019,7 @@ web-related markup languages.
#+BEGIN_SRC emacs-lisp :tangle yes
(use-package web-mode)
+ (use-package nginx-mode)
#+END_SRC
** File formats
@@ -1202,10 +1203,7 @@ We then set values for many other Org-related cosmetic symbols.
(setq org-hide-emphasis-markers nil
org-startup-indented t
org-src-preserve-indentation nil
- org-edit-src-content-indentation 2
- org-ellipsis (propertize " ▷ " ; folding symbol
- 'mouse-face 'highlight
- 'help-echo "Unfold section."))
+ org-edit-src-content-indentation 2)
#+END_SRC
*** Pretty LaTeX symbols
@@ -1228,7 +1226,9 @@ attribute ~:background coral~.
#+BEGIN_SRC emacs-lisp :tangle yes
(add-hook 'org-mode-hook 'org-num-mode)
- (setq org-num-face 'org-special-keyword)
+ (setq org-num-face 'org-special-keyword
+ org-num-skip-commented t
+ org-num-skip-unnumbered t)
#+END_SRC
By default, we hide Org document properties such as =#+TITLE=,
@@ -2031,10 +2031,14 @@ unusable. Thus, we /describe/ two themes that were developed
(load-theme 'sd-compagnon-dark)
#+END_SRC
-#+BEGIN_SRC emacs-lisp :tangle yes
+#+BEGIN_SRC emacs-lisp :tangle no
(load-theme 'molokai)
#+END_SRC
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (load-theme 'wombat)
+#+END_SRC
+
#+BEGIN_SRC emacs-lisp :tangle no
(load-theme 'sd-light)
#+END_SRC
Copyright 2019--2024 Marius PETER