Skip to content
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

Nested list items change indentation level when cursoring on/off line #37

Open
mtchllbrrn opened this issue Mar 11, 2016 · 5 comments
Open

Comments

@mtchllbrrn
Copy link

Example: http://cl.ly/3j1P2u331t01

This is a .md file. Seems to me that the desired behavior would be for the nested list items to always be displayed at the indentation level dictated by markdown format (i.e. Two spaces for each indentation level, not one).

@reedes
Copy link
Collaborator

reedes commented Mar 15, 2016

Weird. I haven't seen that, though I've struggled with the various Markdown syntax plugins to improve the outline handling.

Which Markdown syntax plugin are you using, if any?

@mtchllbrrn
Copy link
Author

I'm not using a markdown syntax plugin. Just the native highlighting provided by vim.

@reedes
Copy link
Collaborator

reedes commented Mar 17, 2016

I recall that the native one is based on https://github.com/tpope/vim-markdown

Does the behavior change if you use his latest dev version?

Could you post results of

vim --version

or however you launch vim from the console.

Also, does the problem go away when you aren't using pencil?

@laishulu
Copy link

I also see this problem

  NeoBundle 'reedes/vim-pencil'
  let g:pencil#wrapModeDefault = 'soft'   " default is 'hard'

  augroup pencil
    autocmd!
    autocmd FileType markdown,mkd call pencil#init()
    autocmd FileType text         call pencil#init({'wrap': 'hard'})
  augroup END

@reedes
Copy link
Collaborator

reedes commented Nov 8, 2016

I've been using outlines (using the default markdown syntax) and haven't reproduced issue yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants