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
To Reproduce
Write a comment that ends with any word from this list begin\|do\|else\|fun\|function\|functor\|if\|initializer\|object\|private\|sig\|struct\|then\|try then press enter. The next line will be shifted right.
Expected behaviour
Comment lines should not change indentation.
The text was updated successfully, but these errors were encountered:
@usualwitch Note that #71 is not perfect: it will still increase indentation within ranged comments (* ... *) since there is apparently no efficient way for Vim's indent file to know if the current position is within ranged comment.
Describe the bug
If a comment line ends with one of the patterns defined in https://github.com/ionide/Ionide-vim/blob/master/indent/fsharp.vim#L189, the next line will be indented.
To Reproduce
Write a comment that ends with any word from this list
begin\|do\|else\|fun\|function\|functor\|if\|initializer\|object\|private\|sig\|struct\|then\|try
then press enter. The next line will be shifted right.Expected behaviour
Comment lines should not change indentation.
The text was updated successfully, but these errors were encountered: