Merge pull request #4 from lukas-reineke/feature/clear-colorcolumn-highlight

This commit is contained in:
Lukas Reineke
2021-11-29 11:44:40 +09:00
committed by GitHub
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