kylechui / nvim-surround

Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
MIT License
3.15k stars 63 forks source link

Allow cmp completion on tag wrapping #240

Closed timsofteng closed 4 months ago

timsofteng commented 1 year ago

Checklist

Is your feature request related to a problem? Please describe. In the fronted world tags could be very long (especially with some tools like styled-components). It is annoying to print it from scratch if they are existed in the buffer already.

Describe the solution you'd like Cmp completion for buffer would be cool feature to prevent retyping.

kylechui commented 1 year ago

This is something that I would love as well, and seems related to this discussion. If anyone has ideas as for how this could be done, feel free to let me know!

timsofteng commented 1 year ago

@kylechui

https://github.com/nvim-neo-tree/neo-tree.nvim I'm not sure that it can helps but file creation works with ability to use cmp in this plugin. Check it please does it make sense or not in context of our discussion.

kylechui commented 1 year ago

@timsofteng Does it work in the plugin that you linked? I looked through the issues and it seems to not work there either.

kylechui commented 4 months ago

Merging this into #145