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

bug(code-server): Inability to set object values in settings #296

Open
phorcys420 opened this issue Sep 22, 2024 · 1 comment
Open

bug(code-server): Inability to set object values in settings #296

phorcys420 opened this issue Sep 22, 2024 · 1 comment

Comments

@phorcys420
Copy link
Member

Discord Thread


The type of the settings variable is map(string) and therefore does not allow you to set settings like files.exclude which takes in an object.

You would want to set the value like this, but the type doesn't allow you to do so.

settings = {
    "files.exclude" = {
      "**/.*": true
    },
    "workbench.colorTheme" = "Default Dark Modern"
}

I think all that has to be done is set the variable's type to map(any).

@coder-labeler coder-labeler bot added the bug label Sep 22, 2024
@phorcys420
Copy link
Member Author

@matifali, could you take a look?
it should be a relatively low effort fix, i just won't have time to look into it for a bit

@matifali matifali removed the bug label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants