From 8402dc23e13d969ab21978c6f1c68f1fa8c6bb05 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sun, 25 Feb 2024 21:13:05 +0530 Subject: [PATCH] remove the annoying ass `~` on every empty line --- lua/core.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua/core.lua b/lua/core.lua index 9ecebcc..661862a 100644 --- a/lua/core.lua +++ b/lua/core.lua @@ -16,6 +16,9 @@ local function set_keymap() nnoremap :nohlsearch:echo ]]) + -- Remove the `~` for blank lines by setting its color to be the same as background + vim.cmd("hi NonText guifg=bg") + -- for markdown file vim.cmd([[ " optimized up and down move when set wrap for markdown file