numToStr

Results 124 comments of numToStr

This is interesting and also useful. I probably go with the treesitter to implement this :)

I made some progress on treesitter but now I am stuck. And I need ideas. Consider the following comment regions, they all are separated by empty lines. Should I treat...

`gc` does adds `--` to empty lines by default. So by that, it means 1) this will be three different regions ```lua -- Hello treesitter -- a bunch of comment...

@RRethy If that is possible then it would be great ;)

@ouuan Yes, it doesn't work with line comments. Although it works very well with block comments. Regarding the feature itself, I am still confused as to whether should I implement...

I think you are using the `gc` bindings. Try with `gb`.

@ouuan Also make sure that the plugin contains queries for comments. The last time I checked https://github.com/nvim-treesitter/nvim-treesitter-textobjects was missing comments queries for some languages.

Is `gcgc` and `gbgb` always goes down?

Also this might be somewhat related to #11

@astier Nice suggestion. I like the semantics of `gcu` ie. `u` indicating `undo`. Anyways users will always have an option to change the mapping.