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

How to support context filetype? #404

Open
Freed-Wu opened this issue Oct 7, 2023 · 0 comments
Open

How to support context filetype? #404

Freed-Wu opened this issue Oct 7, 2023 · 0 comments

Comments

@Freed-Wu
Copy link

Freed-Wu commented Oct 7, 2023

In https://github.com/tyru/caw.vim:

  • The comment behavior only depends on 'filetype' by default. But if you have installed Shougo/context_filetype.vim, caw.vim also depends on the filetype of the context of the current cursor location. So you can comment/uncomment JavaScript in HTML correctly.

How can Comment.nvim support context filetype? i.e., Comment code fence in markdown, js in HTML, yaml front matter in markdown...

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