You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add config.hooks = {pre = nil, post = nil} options. config.hooks.pre should be called before (potentially successful?) commenting; config.hooks.post - after successful commenting.
The most important application is to allow multi-language support through manually adjusting commentstring option in hooks.pre. See: JoosepAlviste/nvim-ts-context-commentstring and #50.
The text was updated successfully, but these errors were encountered:
Contributing guidelines
Module(s)
mini.comment
Description
Add
config.hooks = {pre = nil, post = nil}
options.config.hooks.pre
should be called before (potentially successful?) commenting;config.hooks.post
- after successful commenting.The most important application is to allow multi-language support through manually adjusting
commentstring
option inhooks.pre
. See: JoosepAlviste/nvim-ts-context-commentstring and #50.The text was updated successfully, but these errors were encountered: