mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-12 12:50:37 +00:00
remove the annoying ass ~
on every empty line
This commit is contained in:
parent
6c1011a37f
commit
8402dc23e1
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue