Stillat / vscode-antlers-language-server

Provides rich language features for Statamic's Antlers templating language, including code completions, syntax highlighting, and more.
https://antlers.dev
MIT License
36 stars 3 forks source link

Showing error on `or` in partial name #49

Closed edalzell closed 1 year ago

edalzell commented 1 year ago

Describe the bug

If you have a partial named foo-or-bar, you get squiggles complaining about a condition

Impacted Products Which Antlers Toolbox products does this bug apply to?

Versions and Other Plugins/Extensions v2.3.6

To Reproduce

  1. Name a partial foo-or-bar.antlers.html
  2. Call it {{ partial:foo-or-bar }}

Expected behavior

no squigglies

CleanShot 2022-09-21 at 12 04 36@2x CleanShot 2022-09-21 at 12 07 04@2x
JohnathonKoster commented 1 year ago

Resolved with:

Antlers Toolbox for VS Code: 2.3.7 antlers-language-server: 1.1.2