feature: clear ColorColumn highlight

fix #2
This commit is contained in:
Lukas Reineke
2021-11-29 11:39:19 +09:00
parent 2c251c8a61
commit f5fdc700b2
2 changed files with 1 additions and 6 deletions
-6
View File
@@ -42,12 +42,6 @@ require("virt-column").setup()
Please see `:help virt-column.txt`for more details and all possible values.
You probably want to clear the old `ColorColumn` highlight if you use this.
```vim
highlight clear ColorColumn
```
## Thanks
Thank you @francium for the idea.
+1
View File
@@ -20,6 +20,7 @@ M.setup = function(config)
vim.cmd [[command! VirtColumnRefresh lua require("virt-column").refresh()]]
vim.cmd [[highlight link VirtColumn Whitespace]]
vim.cmd [[highlight clear ColorColumn]]
vim.cmd [[
augroup VirtColumnAutogroup