-
Hi, I have some troubles with understanding and appling the "scoping" of vale. I created a style to replace words that should not be used in any files. However my first approach:
was not correctly applied to .rst files. It only worked for the headlines. For this reason I added "scope: raw" to the properties. However, this resulted in the rule not being applied for code files (.c, .h, .cpp, ...) anymore. Now I just duplicated the file and have it once with and once without this property, but I don't really like the duplication. Can someone tell me what I am doing wrong or how I can apply this rule to all kind of files? NOTE: I use vale only together with the VS Code Extension. Cheers Daniel |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
My guess would be that you want |
Beta Was this translation helpful? Give feedback.
No, but the next release of Vale will allow
raw
-scoped rules to run on source code too.