Closed tim3trick closed 1 year ago
Adding the following snippet to my settings.json seemed to do the trick for me
"yaml.customTags": [
"!reference sequence",
],
Closing due to inactivity
Adding the following snippet to my settings.json seemed to do the trick for me
"yaml.customTags": [ "!reference sequence", ],
tried this and other variants(!reference scalar, !reference mapping, !reference sequence and just !reference) as well but nothing seems to be working
using nvim v0.9.5 and yaml-language-server v1.14.0
Summary
I have nvim (astrovim) set up and running and am currently trying to work on some partial gitlab-ci yaml file. Currently I get the error "Unresolved tag !reference".
Relevant information
Here is the content of the file in question:
!reference
is a valid custom tag for gitlab-ciThis is my current yamlls configuration (init.lua):
I tried various versions, including
!reference scalar
,!reference mapping
,!reference sequence
and just!reference
customtags
instead ofcustomTags
(had to do this forschemastore
to get it to work)If i disable validation via
The error is gone, so I suspect that the configuration is passed to yamlls.
Can someone help me out?