diff options
author | Riley Bruins <ribru17@hotmail.com> | 2024-09-24 08:41:46 -0700 |
---|---|---|
committer | Christian Clason <ch.clason+github@icloud.com> | 2025-03-02 18:38:13 +0100 |
commit | 65c7033cbe75825c4cc948b71aba9a6d7a14540d (patch) | |
tree | 864da0d8da2918f5e7abdc46f57f78cd5a1f244a /runtime/lua/vim/_meta/vimfn.lua | |
parent | 59c328bc88ccb1d331c3e63768bb11c3555b1f57 (diff) | |
download | rneovim-65c7033cbe75825c4cc948b71aba9a6d7a14540d.tar.gz rneovim-65c7033cbe75825c4cc948b71aba9a6d7a14540d.tar.bz2 rneovim-65c7033cbe75825c4cc948b71aba9a6d7a14540d.zip |
feat(comment): allow commentstring to be determined from node metadata
**Problem:** Some weird languages have different comment syntax
depending on the location in the code, and we do not have a way to
determine the correct `commentstring` for these special cases.
**Solution:** Allow queries to specify `commentstring` values in
metadata, allowing users/`nvim-treesitter` to provide a better
commenting experience without hugely increasing the scope of the code in
core.
Diffstat (limited to 'runtime/lua/vim/_meta/vimfn.lua')
0 files changed, 0 insertions, 0 deletions