Skip to content

Conceal terminal color escape codes #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions syntax/log.vim
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@ hi def link logLevelInfo Repeat
hi def link logLevelDebug Debug
hi def link logLevelTrace Comment

" Conceal Terminal Color Escape Codes
"---------------------------------------------------------------------------
syntax match Normal '\[[0-9;]*m' conceal
setlocal conceallevel=2
setlocal concealcursor=n


let b:current_syntax = 'log'
Expand Down