Skip to content

Instantly share code, notes, and snippets.

@nixpulvis
Created July 30, 2020 19:10
Show Gist options
  • Save nixpulvis/4773fd296fcce603d3a7481631e6d0db to your computer and use it in GitHub Desktop.
Save nixpulvis/4773fd296fcce603d3a7481631e6d0db to your computer and use it in GitHub Desktop.
let highlights = execute('highlight')
let highlights = substitute(highlights, '\n\s\+', ' ', 'g')
let highlights = split(highlights, '\n')
call map(highlights, "split(v:val, '\\s\\+xxx\\s\\+')[0]")
for group in highlights
execute 'highlight' group 'NONE'
endfor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment