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

is there any possible to indent # (shell comments) inside the code block via >> #645

Open
marslo opened this issue Oct 12, 2023 · 0 comments

Comments

@marslo
Copy link

marslo commented Oct 12, 2023

Normally I'm using >> to indent links, and it not work for comments in shell code block. i.e.:

sample scenario:

  ```bash
  |# sample code
  ^
  |
 cursor here, and type `>>`
  ...

I was tried to modified the indent/markdown.vim as below, but still no lucky :

62     elseif s:IsHeaderLine(cline) && !s:IsMkdCode(v:lnum)
63        return ind

so I have to ctrl + v for code block move, it's really inconvenient.

details:
vim-markdown-indent

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

1 participant