Refactor
This commit is contained in:
@@ -31,6 +31,12 @@ vim.opt.fillchars = { eob = " " }
|
||||
|
||||
vim.o.undofile = true
|
||||
|
||||
--- transparent background
|
||||
vim.api.nvim_set_hl(0, "Normal", { bg = "none" })
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" })
|
||||
-- Optional: also make the border of floating windows transparent
|
||||
vim.api.nvim_set_hl(0, "FloatBorder", { bg = "none" })
|
||||
|
||||
plugin({
|
||||
"folke/which-key.nvim",
|
||||
event = "VeryLazy",
|
||||
@@ -76,19 +82,6 @@ plugin({
|
||||
|
||||
map("n", "<leader>tt", "<cmd>:TestNearest<cr>", { desc = "Test Nearest" })
|
||||
|
||||
plugin({
|
||||
"kelly-lin/ranger.nvim",
|
||||
config = function()
|
||||
require("ranger-nvim").setup({ replace_netrw = true })
|
||||
vim.api.nvim_set_keymap("n", "<leader>ff", "", {
|
||||
noremap = true,
|
||||
callback = function()
|
||||
require("ranger-nvim").open(true)
|
||||
end,
|
||||
})
|
||||
end,
|
||||
})
|
||||
|
||||
plugin({
|
||||
"rachartier/tiny-inline-diagnostic.nvim",
|
||||
event = "VeryLazy", -- Or `LspAttach`
|
||||
|
||||
Reference in New Issue
Block a user