Skip to content

Commit fa21685

Browse files
authored
feat(config): add calculator to cmdline formats (#240)
Show proper prompt for the expression register. Press <c-r>= in insert mode to see how it looks like.
1 parent 0fbbcb4 commit fa21685

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lua/noice/config/init.lua

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function M.defaults()
2626
filter = { pattern = "^:%s*!", icon = "$", lang = "bash" },
2727
lua = { pattern = "^:%s*lua%s+", icon = "", lang = "lua" },
2828
help = { pattern = "^:%s*he?l?p?%s+", icon = "" },
29+
calculator = { pattern = "^=", icon = "", lang = "vimnormal" },
2930
input = {}, -- Used by input()
3031
-- lua = false, -- to disable a format, set to `false`
3132
},

0 commit comments

Comments
 (0)