vim-grammarous icon indicating copy to clipboard operation
vim-grammarous copied to clipboard

Grammar check in Strings

Open mohitleo9 opened this issue 7 years ago • 2 comments

Hey, Is there a way to force the checker to validate only 'strings' and 'comments' for grammar.

mohitleo9 avatar Jan 02 '18 20:01 mohitleo9

Actually took a quick look, could https://github.com/rhysd/vim-grammarous/blob/8fbcc8e61409f93f215fe627b231e4550b967e18/autoload/grammarous.vim#L135-L138 be generalized to pass in any (or an array of) syntax group and provide predefined settings from strings and comments?

mohitleo9 avatar Jan 02 '18 20:01 mohitleo9

Yeah, it can be extended as you're saying. I label this as enhancement. (I think related to #47)

rhysd avatar Jan 24 '18 22:01 rhysd