openscad-LSP icon indicating copy to clipboard operation
openscad-LSP copied to clipboard

Handle panic on missing `search-paths`

Open mkatychev opened this issue 7 months ago • 0 comments

The config below will panic on an .unwrap()

  openscad_lsp = {
    settings = {
      openscad = {
        fmt_style = "file",
        fmt_exe= "clang-format",
        -- search_paths = "/libs", this will panic if left commented
      },
    },
  }

modified unwrap to be unwrap_or_default

mkatychev avatar Jul 20 '24 21:07 mkatychev