We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
This plugin is so good! It does basically everything I want, with a lot less complexity than the other options. Thanks for making it!
The one thing I'm missing is HTML tag auto-indent. Let's say my cursor | is here:
|
<div>|</div>
Then when I press return, I would want the auto indent to produce this:
<div> | </div>
How feasible do you think this is?
The text was updated successfully, but these errors were encountered:
@lukewiebe Thanks for the feedback! A pretty simple approach would be adding this config:
keys = { [">"] = { escape = false, close = false, pair = "><" }, }
This triggers auto-indent when your cursor is between two tags like this: >|<.
>|<
Sorry, something went wrong.
Ah, that’s very clever! I’ll definitely add it to my config.
I imagine this is a fairly common need with the popularity of HTML. Would you consider adding it to the default settings or noting it in the readme?
No branches or pull requests
Hello,
This plugin is so good! It does basically everything I want, with a lot less complexity than the other options. Thanks for making it!
The one thing I'm missing is HTML tag auto-indent. Let's say my cursor
|
is here:Then when I press return, I would want the auto indent to produce this:
How feasible do you think this is?
The text was updated successfully, but these errors were encountered: