mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -298,7 +298,8 @@ with `org-cycle'). Also:
|
|||||||
(ignore-errors (org-demote))
|
(ignore-errors (org-demote))
|
||||||
t)
|
t)
|
||||||
((org-in-src-block-p t)
|
((org-in-src-block-p t)
|
||||||
(doom/dumb-indent)
|
(org-babel-do-in-edit-buffer
|
||||||
|
(call-interactively #'indent-for-tab-command))
|
||||||
t)))
|
t)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user