Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code: this document has been excluded #320

Open
muuvmuuv opened this issue Sep 21, 2022 · 7 comments
Open

VS Code: this document has been excluded #320

muuvmuuv opened this issue Sep 21, 2022 · 7 comments

Comments

@muuvmuuv
Copy link

Cannot find a way to include a dotfile written in TOML. VS Code always prints "this document has been excluded". Adding a config file with include "**/.file" does not work. File associations neither. Anything I have missed?

@axdank
Copy link

axdank commented Sep 22, 2022

The same thing happens to me in helix, I pass configuration parameters through the lsp configuration, and it does not respect any, I try with .taplo.toml adding parameters to include a local schema and it does not work either, I have tried many ways and with none of them I got a solution.

imagen

imagen

imagen

imagen

@alkatar21
Copy link

I have the same message for Python Pipfile with the VSCode extension. Is there any extension/VSCode setting im missing to add Pipefile as a valid toml file?

@gutenfries
Copy link

+1 same issue

@reinderien
Copy link

I have this issue on Even Better TOML 0.19.2. Try as I might, settings.json

    "files.associations": {
        "**/*.wara": "toml"
    },

has no effect and the angry squiggle always says this document has been excluded.

@ia0 ia0 added the vscode label Oct 21, 2023
@neodon
Copy link

neodon commented Dec 19, 2023

I'm encountering this issue when setting a file association for *.toml.tmpl to toml.

Code_0UUyHNUDDT

@Rudxain
Copy link

Rudxain commented Oct 8, 2024

Has anyone tried this?

@senekor
Copy link

senekor commented Jan 8, 2025

Works for me in helix. I can also confirm that the CWD of helix must be a parent of the file, which is good enough for me. To save you a click, add the following to your ~/.config/helix/languages.toml:

[[language]]
name = "toml"
roots = ["."]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants