Comments (6)
I see, so essentially we want to use the block comment characters at the beginning and end of the line, wrapping the text inside, if I understand correctly.
from nvim-commaround.
I have created pull request #9 to address this issue. At a first glance it seems to me that the change is trivial, one can simply toggle block mode on single lines too, see here.
I am trying to mock the vim.api
for testing, however this seems to be slightly non-trivial. Below you can find a gif of the expected behaviour on single lines for html files:
Please check that it works as expected on standard html files (both for single and for block comments again).
from nvim-commaround.
Hello mate,
I checked the single-wrap
branch on an html file. Works just fine, for both single and block comments.
It doesn't work for xml files though. Perhaps we can add them to the config before merge? Their comment scheme is same as html.
Thanks!
from nvim-commaround.
I added xml configurations in ccd5a17
If all good, I will merge.
from nvim-commaround.
Yep. all good! Can merge. Thank you!
from nvim-commaround.
Merged. Please PlugUpdate
to see all new changes.
from nvim-commaround.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvim-commaround.