Replies: 3 comments 2 replies
-
Oh it seems this is the backdrop under |
Beta Was this translation helpful? Give feedback.
-
Just found out this plugin "levouh/tint.nvim" which darkens the inactive window, this is almost what I was looking for.. its quite similar to what we have with Lazy but I think it's still missing something.. I don't know but Lazy seems to do something else, it feels it's not simply darkening the inactive window |
Beta Was this translation helpful? Give feedback.
-
You can just use the lazy api for this. For example: -- run a command and show it with the given ft
require("lazy.util").float_cmd({ "git", "log", "-n3" }, {
filetype = "git",
size = {
width = 0.6,
height = 0.6,
},
border = "rounded",
})
-- run a command and show the terminal output (colored)
require("lazy.util").float_term({ "git", "log", "-n3" }, {
interactive = false,
size = {
width = 0.6,
height = 0.6,
},
border = "rounded",
}) Check the code, float_term and float_cmd for more details |
Beta Was this translation helpful? Give feedback.
-
I noticed that running ":Lazy" opens up a kinda of popup and also it darkens the background text
What kind of popup (or window) is this which darkens the background text?
I'd like to create something similar to run some shell commands
Normal Go file opened:
And then ":Lazy" is opened:
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions