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
When first opening a cljs file it looks like indentparen is run. Subsequently running :Gdiff to view the changes in the file also runs the same process on the new buffer created by fugitive rending the Gdiff function useless.
The text was updated successfully, but these errors were encountered:
Unfortunately indentparen really has to be run or far worse things happen in files with wrong indentation. Is there a better way to tell the difference between a "real" clojure buffer and Gdiffs? There's a very good chance I'm doing something wrong in plugin.vim as I'm in no way a viml pro.
Is there a way to turn off indentparen for a buffer? My mind goes to an aucmd that Parinfer triggers before running indentparen, which would give the oppurtunity to do let b:parinfer_mode='off' (assuming that parinfer mode off disables indentparen also!)
It's perhaps useful to use b:parinfer_mode too, as it would allow per-buffer settings for parinfer mode.
it doesn't run if parinfer mode is off globally this would allow a workaround to be written. b:parinfer_mode would be a nice feature to enable this though
When first opening a cljs file it looks like
indentparen
is run. Subsequently running:Gdiff
to view the changes in the file also runs the same process on the new buffer created by fugitive rending theGdiff
function useless.The text was updated successfully, but these errors were encountered: