Skip to content

Commit

Permalink
feat(config): add calculator to cmdline formats (#240)
Browse files Browse the repository at this point in the history
Show proper prompt for the expression register. Press <c-r>= in insert
mode to see how it looks like.
  • Loading branch information
utilyre authored Nov 24, 2022
1 parent 0fbbcb4 commit fa21685
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/noice/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function M.defaults()
filter = { pattern = "^:%s*!", icon = "$", lang = "bash" },
lua = { pattern = "^:%s*lua%s+", icon = "", lang = "lua" },
help = { pattern = "^:%s*he?l?p?%s+", icon = "" },
calculator = { pattern = "^=", icon = "", lang = "vimnormal" },
input = {}, -- Used by input()
-- lua = false, -- to disable a format, set to `false`
},
Expand Down

0 comments on commit fa21685

Please sign in to comment.