plugins.render-markdown.settings.win_options

Window options are used by the plugin to set different window level neovim option values when rendering and when not rendering a file.

This is useful for 2 reasons:

  • To allow options for rendering to be controlled by the plugin configuration so users don’t need to set global or ftplugin options to make things work.
  • Some option values are more useful for appearance and others are more useful while editing.

Type: null or (attribute set of ((attribute set of anything) or raw lua code))

Default: null

Plugin default:

{
  concealcursor = {
    default = {
      __raw = "vim.api.nvim_get_option_value('concealcursor', {})";
    };
    rendered = "";
  };
  conceallevel = {
    default = {
      __raw = "vim.api.nvim_get_option_value('conceallevel', {})";
    };
    rendered = 3;
  };
}

Declared by:

plugins.render-markdown.settings.win_options.<name>.default

Default value (used for editing).

Type: null or anything

Default: null

plugins.render-markdown.settings.win_options.<name>.rendered

Value only used for rendering files.

Type: null or anything

Default: null