plugins.markview.settings.callback.on_disable

Action to perform when markview is disabled.

Type: null or lua function string

Default: null

Plugin default:

''
  function(buf, win)
      vim.wo[window].conceallevel = 0;
      vim.wo[window].concealcursor = "";
  end
''

Declared by:

plugins.markview.settings.callback.on_enable

Action to perform when markview is enabled.

Type: null or lua function string

Default: null

Plugin default:

''
  function(buf, win)
    vim.wo[window].conceallevel = 2;
    vim.wo[window].concealcursor = "nc";
  end
''

Declared by:

plugins.markview.settings.callback.on_mode_change

Action to perform when mode is changed, while the plugin is enabled.

Type: null or lua function string

Default: null

Plugin default:

''
  function(buf, win, mode)
    if vim.list_contains(markview.configuration.modes, mode) then
      vim.wo[window].conceallevel = 2;
    else
      vim.wo[window].conceallevel = 0;
    end
  end
''

Declared by: