Skip to content

Use schema from "$schema": for current JSON fileΒ #964

@LnLcFlx

Description

@LnLcFlx

I am using with nvim-lspconfig for editing a JSONC file like this.
When I add a modeline like # yaml-language-server: $schema=https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json I get the desired LSP functionalities.
But when I only use "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json" instead of the modeline, like suggested in the link above, it does not work.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions