Support column marking in linter

This commit is contained in:
Zachary Yedidia
2019-08-05 21:36:58 -07:00
parent 3d40e91690
commit 26c545267d
4 changed files with 58 additions and 22 deletions

View File

@@ -483,6 +483,14 @@ func (w *BufWindow) displayBuffer() {
}
}
for _, m := range b.Messages {
if bloc.GreaterEqual(m.Start) && bloc.LessThan(m.End) ||
bloc.LessThan(m.End) && bloc.GreaterEqual(m.Start) {
style = style.Underline(true)
break
}
}
if r == '\t' {
if s, ok := config.Colorscheme["indent-char"]; ok {
style = s