Skip to content

Commit

Permalink
chore(build): auto-generate vimdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 24, 2022
1 parent 7f0ecd8 commit cc8c07a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/noice.nvim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,19 @@ for configuration recipes.
cmdline = {
enabled = true, -- enables the Noice cmdline UI
view = "cmdline_popup", -- view for rendering the cmdline. Change to `cmdline` to get a classic cmdline at the bottom
opts = { lang = "vim" }, -- enable syntax highlighting in the cmdline
opts = {}, -- extra opts for the cmdline view. See section on views
---@type table<string, CmdlineFormat>
format = {
-- conceal: (default=true) This will hide the text in the cmdline that matches the pattern.
-- view: (default is cmdline view)
-- opts: any options passed to the view
-- icon_hl_group: optional hl_group for the icon
cmdline = { pattern = "^:", icon = "" },
cmdline = { pattern = "^:", icon = "", lang = "vim" },
search_down = { kind = "search", pattern = "^/", icon = " ", lang = "regex" },
search_up = { kind = "search", pattern = "^%?", icon = " ", lang = "regex" },
filter = { pattern = "^:%s!", icon = "$", lang = "sh" },
filter = { pattern = "^:%s!", icon = "$", lang = "bash" },
lua = { pattern = "^:%slua%s+", icon = "", lang = "lua" },
help = { pattern = "^:%sh%s+", icon = "" },
-- lua = false, -- to disable a format, set to `false`
},
},
Expand Down

0 comments on commit cc8c07a

Please sign in to comment.