modules icon indicating copy to clipboard operation
modules copied to clipboard

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

Open phorcys420 opened this issue 1 year ago • 1 comments

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).

phorcys420 avatar Sep 22 '24 13:09 phorcys420