Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

plugins.debugprint.settings.filetypes

Custom filetypes. Your new file format will be merged in with those that already exist. If you pass in one that already exists, your configuration will override the built-in configuration.

Example:

  filetypes = {
    python = {
      left = "print(f'";
      right = "')";
      mid_var = "{";
      right_var = "}')";
    };
  };

Type: null or (attribute set of (submodule))

Default: null

Plugin default: { }

Declared by:

plugins.debugprint.settings.filetypes.<name>.left

Left part of snippet to insert.

Type: string

Declared by:

plugins.debugprint.settings.filetypes.<name>.mid_var

Middle part of snippet to insert (variable debug line mode).

Type: string

Declared by:

plugins.debugprint.settings.filetypes.<name>.right

Right part of snippet to insert (plain debug line mode).

Type: string

Declared by:

plugins.debugprint.settings.filetypes.<name>.right_var

Right part of snippet to insert (variable debug line mode).

Type: string

Declared by: