You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I copy code from an outside source that is not indented properly, when pasting into a clojure buffer with parinfer active, it'll reformat the code based on indent (smart mode) and not as 'paren' mode.
I think that pasting code should, somehow, behave in 'paren' mode in order not to break the intended behaviour
The text was updated successfully, but these errors were encountered:
I'm not sure we always want paren mode for pasting. Paren mode would fail outright if the pasted code doesn't have balanced parens.
I had an idea for separate plugin that would remove and fix extra indentation in a register when yanking, and also add indentation relative to the paste point when pasting, meaning that relative indentation would be preserved instead of absolute indentation for lines 2+. Since I'm no longer using Vim, I'm not going to write that tho. So... free idea?
If I copy code from an outside source that is not indented properly, when pasting into a clojure buffer with parinfer active, it'll reformat the code based on indent (smart mode) and not as 'paren' mode.
I think that pasting code should, somehow, behave in 'paren' mode in order not to break the intended behaviour
The text was updated successfully, but these errors were encountered: