From 2411e6465cc90c28ba96814adb69396abc3701c5 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 24 Jul 2022 16:11:16 +0200 Subject: Spelling, completion, nginx-mode. --- smart-documents.org | 20 ++++++++++++-------- 1 file 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 -- cgit v1.2.3