lang/org: improve tab indent in src blocks
I realize org-src-tab-acts-natively exists, but it doesn't work for me. This little fix (plus the next commit's editorconfig fix) should make tab act much more reliably in src blocks.
This commit is contained in:
parent
5b92c3d99f
commit
e79942de2e
1 changed files with 2 additions and 1 deletions
|
@ -298,7 +298,8 @@ with `org-cycle'). Also:
|
|||
(ignore-errors (org-demote))
|
||||
t)
|
||||
((org-in-src-block-p t)
|
||||
(doom/dumb-indent)
|
||||
(org-babel-do-in-edit-buffer
|
||||
(call-interactively #'indent-for-tab-command))
|
||||
t)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue