-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Odd behavior with wrap #70
Comments
I have noticed the same problem (with the most up-to-date version of vim-markdown and neovim). I think the problem happens when the first word of the paragraph is a single character. |
Now I tested it a bit more (not at all comprehensively) with This makes me think that the problem is that somehow |
P.S. I see now that #71 is supposed to take care of this, but the problem persists. |
My automatic wrapping at 80 characters disappears when enabling the plugin. It looks like in markdown.vim you
setlocal textwidth=0
, which I think is to blame.To counteract this I have
autocmd Filetype markdown setlocal textwidth=80
in my.vimrc
. However, this has exposed an odd issue with wrapping.When a previous line starts with a single alphanumeric character, the second line is indented by two spaces.
Before
gwap
(which wraps in a paragraph):After
gwap
:This, with
!
as the first character, wraps as I would expect:I would expect indentation to only apply if the list began with
1.
with a period. Is the behavior I'm seeing technically correct, or is it a bug?The text was updated successfully, but these errors were encountered: