Code indentation in org files #440
andreadev-it
started this conversation in
General
Replies: 1 comment 2 replies
-
Sorry for the late response. Could you perhaps add a short example? I'm not sure if I completely understand. It sounds like your issue is related to #422 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone, I've just started a discussion to understand what options do I have for my current situation, and thought it might be helpful for others too.
I've moved all my nvim config to an org config file (multiple files, for now) but I'm having some trouble when I need to write or edit lua code inside the code blocks. The problem is that my indentation settings do not take into account org's indentation, so every time I write something the number of spaces always gets messed up.
I was wondering how this was handled in Emacs, and I've seen that no lines are indented at all, it's emacs that indents them visually. This is helpful because it doesn't create problem with the actual number of whitespaces in the code, but I don't think it is possible in neovim.
I'm thinking, if it's possible, to disable org indentation in my plugin settings and see how it feels. How are you handling this (if you had a similar issue)?
Beta Was this translation helpful? Give feedback.
All reactions