plugins.otter.settings

Options provided to the require('otter').setup function.

Type: attribute set of anything

Default: { }

Example:

{
  callback = {
    __raw = ''
      function()
        print('nixvim')
      end
    '';
  };
  foo_bar = 42;
  hostname = "localhost:8080";
}

Declared by:

plugins.otter.settings.handle_leading_whitespace

Otter may not work the way you expect when entire code blocks are indented (eg. in Org files). When true, otter handles these cases fully. This is a (minor) performance hit.

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.otter.settings.strip_wrapping_quote_characters

Type: null or (list of (string or raw lua code))

Default: null

Plugin default:

[
  "'"
  "\""
  "`"
]

Declared by: