Open metal3d opened 1 month ago
Hello,
Using Mkdocs with Material, the YAML file should sometimes use this:
markdown_extensions: - pymdownx.highlight: anchor_linenums: true - pymdownx.superfences: custom_fences: - name: mermaid class: mermaid format: !!python/name:pymdownx.superfences.fence_code_format
But... NeoVim with nvim-lspconfig fails to accept the !!python tag:
!!python
I tried many configurations...
tag:yaml.org,2002:python
tag:yaml.org,2002:python/name
!python
!python/name
!python/name scalar
And a dozen of others. This fails. Yamls-language-server continuously says that there is an error in the YAML file.
This is the configuration I have now, still doesn't work:
return { { "neovim/nvim-lspconfig", opts = { servers = { yamlls = { settings = { yaml = { validate = true, customTags = { "!!python/name" }, }, }, }, }, }, }, }
Thanks if someone can help me.
Hello,
Using Mkdocs with Material, the YAML file should sometimes use this:
But... NeoVim with nvim-lspconfig fails to accept the
!!python
tag:I tried many configurations...
tag:yaml.org,2002:python
tag:yaml.org,2002:python/name
!python
!python/name
!python/name scalar
And a dozen of others. This fails. Yamls-language-server continuously says that there is an error in the YAML file.
This is the configuration I have now, still doesn't work:
Thanks if someone can help me.