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
g:grammarous#ignore_patterns is a dictionary whose key is filetype and whose value is array of pattern. Ignored area should be linewise because line and col will be changed if it is characterwise. The pattern in the array is a dictionary and it should has a key "start" and "end" or "start" and "post_end" or simply "pattern" only. "end" means the ignored area ends with the pattern "end" indicates. "post_end" means the ignored area ends just before the pattern "post_end" indicates. "pattern" means the matched lines are simply ignored.
It seems too complecated. Only using "parttern" key can do well. It means that I can use tha list of string which is pattern to ignore and the dictionary whose key is start, end and pattern is useless. For example, below is equivalent to above example.
g:grammarous#ignore_patterns
is a dictionary whose key is filetype and whose value is array of pattern. Ignored area should be linewise because line and col will be changed if it is characterwise. The pattern in the array is a dictionary and it should has a key"start"
and"end"
or"start"
and"post_end"
or simply"pattern"
only."end"
means the ignored area ends with the pattern"end"
indicates."post_end"
means the ignored area ends just before the pattern"post_end"
indicates."pattern"
means the matched lines are simply ignored.Example
Note
Before resolving this issue by Vim script, Investigation of
languagetool-commandline
's feature should be done.The text was updated successfully, but these errors were encountered: