preservim / nerdcommenter

Vim plugin for intensely nerdy commenting powers
Creative Commons Zero v1.0 Universal
4.99k stars 447 forks source link

Allow hooks to change filetype and comment deilmiters #509

Closed sankhesh closed 1 year ago

sankhesh commented 1 year ago

This change fixes the issue there custom hooks change filetype to change delimiters but nerdcommenter wouldn't respect the changes.

Fixes #479 and adds support towards #17 with custom hooks like in https://github.com/posva/vim-vue/blob/master/readme.md#nerdcommenter