From 9009ead7525c972a8a8808aeff19ef2263fcf7ad Mon Sep 17 00:00:00 2001 From: Adrian Bakke Date: Tue, 27 Aug 2024 09:36:24 +0200 Subject: [PATCH] add border for split windows and error window --- init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/init.lua b/init.lua index 468817aa..eee93310 100644 --- a/init.lua +++ b/init.lua @@ -166,6 +166,7 @@ vim.keymap.set('n', '', 'nohlsearch') -- Diagnostic keymaps vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) +vim.keymap.set('n', 'e', vim.diagnostic.open_float, { desc = 'Show diagnostic [E]rror messages' }) -- Exit terminal mode in the builtin terminal with a shortcut that is a bit easier -- for people to discover. Otherwise, you normally need to press , which @@ -843,7 +844,9 @@ require('lazy').setup({ -- Like many other themes, this one has different styles, and you could load -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'. vim.cmd.colorscheme 'tokyonight-night' + vim.g.tokyonight_colors = { border = 'orange' } -- vim.cmd.colorscheme 'default' + vim.api.nvim_set_hl(0, 'WinSeparator', { fg = vim.g.tokyonight_colors.border }) -- You can configure highlights by doing something like: --vim.cmd.hi 'Comment gui=none'