Mercurial > vim
view runtime/tools/mve.awk @ 26350:13cce5c82c9a v8.2.3706
patch 8.2.3706: text property highlighting is used on Tab
Commit: https://github.com/vim/vim/commit/42eba04522d6be04393f59a9eab47833e7594650
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 30 20:22:49 2021 +0000
patch 8.2.3706: text property highlighting is used on Tab
Problem: Text property highlighting is used on Tab.
Solution: Only set in_linebreak when not on a Tab. (closes https://github.com/vim/vim/issues/9242)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 30 Nov 2021 21:30:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#!/usr/bin/nawk -f # # Change "nawk" to "awk" or "gawk" if you get errors. # # Make Vim Errors # Processes errors from cc for use by Vim's quick fix tools # specifically it translates the ---------^ notation to a # column number # BEGIN { FS="[:,]" } /^cfe/ { file=$3 msg=$5 split($4,s," ") line=s[2] } # You may have to substitute a tab character for the \t here: /^[\t-]*\^/ { p=match($0, ".*\\^" ) col=RLENGTH-2 printf("%s, line %d, col %d : %s\n", file,line,col,msg) }