plugins.openscad.settings

The configuration options for openscad without the openscad_ prefix.

For example, the following settings are equivialent to these :setglobal commands:

  • foo_bar = 1 -> :setglobal openscad_foo_bar=1
  • hello = "world" -> :setglobal openscad_hello="world"
  • some_toggle = true -> :setglobal openscad_some_toggle
  • other_toggle = false -> :setglobal noopenscad_other_toggle

Type: attribute set of anything

Default: { }

Example:

{
  auto_open = true;
  cheatsheet_window_blend = 15;
  fuzzy_finder = "fzf";
  load_snippets = true;
}

Declared by:

plugins.openscad.settings.auto_open

Whether the openscad project automatically be opened on startup.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.openscad.settings.cheatsheet_toggle_key

Keyboard shortcut for toggling the cheatsheet.

Type: null or string or raw lua code

Default: null

Plugin default: "<Enter>"

Declared by:

plugins.openscad.settings.cheatsheet_window_blend

Transparency level of the cheatsheet window (in %).

Type: null or integer between 0 and 100 (both inclusive)

Default: null

Plugin default: 15

Declared by:

plugins.openscad.settings.default_mappings

Whether to enable the default mappings.

Type: null or boolean or raw lua code

Default: null

Plugin default: true

Declared by:

plugins.openscad.settings.exec_openscad_trig_key

Keyboard shortcut for opening the current file in OpenSCAD.

Type: null or string or raw lua code

Default: null

Plugin default: "<A-o>"

Declared by:

plugins.openscad.settings.fuzzy_finder

Fuzzy finder to find documentation.

If you set this option explicitly, Nixvim will install the relevant finder plugin.

Type: null or string or raw lua code

Default: null

Plugin default: "skim"

Declared by:

plugins.openscad.settings.help_manual_trig_key

Keyboard shortcut for manually triggering the offline OpenSCAD manual.

Type: null or string or raw lua code

Default: null

Plugin default: "<A-m>"

Declared by:

plugins.openscad.settings.help_trig_key

Keyboard shortcut for triggering the fuzzy-find help resource.

Type: null or string or raw lua code

Default: null

Plugin default: "<A-h>"

Declared by:

plugins.openscad.settings.load_snippets

Whether to load predefined snippets for OpenSCAD.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.openscad.settings.top_toggle

Keyboard shortcut for toggling htop filtered for OpenSCAD processes.

Type: null or string or raw lua code

Default: null

Plugin default: "<A-c>"

Declared by: