remove the annoying ass ~ on every empty line

This commit is contained in:
Erica Marigold 2024-02-25 21:13:05 +05:30 committed by GitHub
parent 6c1011a37f
commit 8402dc23e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,6 +16,9 @@ local function set_keymap()
nnoremap <silent> <Esc> :nohlsearch<CR>:echo<CR>
]])
-- 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