Commit 050856d8 authored by Neil Mather's avatar Neil Mather
Browse files

Try to avoid unwanted fiddling with indentation in org-babel blocks

parent 95e74ce2
Pipeline #273727603 passed with stages
in 6 minutes and 52 seconds
#+TITLE: My Spacemacs User Config
#+property: header-args:elisp :tangle ~/.spacemacs.d/user-config.el :comments org
#+LAST_MODIFIED: [2021-02-06 Sat 17:13]
#+LAST_MODIFIED: [2021-03-20 Sat 16:06]
* Preamble
......@@ -132,16 +132,22 @@ This is the [[file:literate-configuration.org][literate]] source for my [[file:s
#+end_src
*** Babel
#+begin_src elisp
;; babel
(with-eval-after-load 'org
(org-babel-do-load-languages
'org-babel-load-languages
'((sql . t)
(python . t)
(plantuml . t)
(sqlite . t)
(shell . t))))
#+begin_src elisp
;; babel
(with-eval-after-load 'org
(org-babel-do-load-languages
'org-babel-load-languages
'((sql . t)
(python . t)
(plantuml . t)
(sqlite . t)
(shell . t))))
#+end_src
Without this, the indentation in org-babel src blocks always gets indented without me wanting it to. See: https://github.com/syl20bnr/spacemacs/issues/13255
#+begin_src elisp
(setq org-src-preserve-indentation t)
#+end_src
*** Misc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment