Changed form catpuccin theme, not a vscode soy dev
This commit is contained in:
@@ -14,7 +14,7 @@ map("n", "<leader>h", "<cmd>nohlsearch<cr>", { desc = "No highlight" })
|
||||
-- Diagnostics
|
||||
map("n", "[d", vim.diagnostic.goto_prev, { desc = "Prev diagnostic" })
|
||||
map("n", "]d", vim.diagnostic.goto_next, { desc = "Next diagnostic" })
|
||||
map("n", "<leader>e", vim.diagnostic.open_float, { desc = "Diagnostic float" })
|
||||
map("n", "<leader>y", vim.diagnostic.open_float, { desc = "Diagnostic float" })
|
||||
|
||||
-- Window navigation
|
||||
map("n", "<C-h>", "<C-w>h", { desc = "Left window" })
|
||||
@@ -24,6 +24,11 @@ map("n", "<C-l>", "<C-w>l", { desc = "Right window" })
|
||||
|
||||
local diagnostics_visible = true
|
||||
|
||||
-- Enable inline diagnostics on startup
|
||||
vim.diagnostic.config({
|
||||
virtual_text = true,
|
||||
})
|
||||
|
||||
map("n", "<leader>td", function()
|
||||
diagnostics_visible = not diagnostics_visible
|
||||
vim.diagnostic.config({
|
||||
|
||||
@@ -28,3 +28,4 @@ opt.mouse = "a"
|
||||
|
||||
opt.updatetime = 250
|
||||
opt.timeoutlen = 400
|
||||
vim.wo.fillchars = 'eob:·'
|
||||
|
||||
Reference in New Issue
Block a user