mirror of
https://github.com/traxys/Nixfiles.git
synced 2026-02-22 23:00:58 +01:00
neovim: Highlight non breaking space
This commit is contained in:
parent
a682659d81
commit
8bb483e6cf
1 changed files with 10 additions and 0 deletions
|
|
@ -49,6 +49,16 @@
|
|||
|
||||
autoGroups.BigFileOptimizer = { };
|
||||
autoCmd = [
|
||||
{
|
||||
event = "BufWinEnter";
|
||||
pattern = "*";
|
||||
command = "call matchadd('BreakspaceChar', ' ')";
|
||||
}
|
||||
{
|
||||
event = "BufWinEnter";
|
||||
pattern = "*";
|
||||
command = "highlight BreakspaceChar ctermbg=red guibg=#f92672";
|
||||
}
|
||||
{
|
||||
event = "BufReadPost";
|
||||
pattern = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue