Mercurial > vim
view runtime/tools/mve.awk @ 15452:1c6a708a5fee v8.1.0734
patch 8.1.0734: the hlsearch state is not stored in a session file
commit https://github.com/vim/vim/commit/e3c74d249ac36404d8af25f74baf335d143b30e3
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 12 16:29:30 2019 +0100
patch 8.1.0734: the hlsearch state is not stored in a session file
Problem: The hlsearch state is not stored in a session file.
Solution: Add "nohlsearch" if appropriate. (Jason Franklin)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 12 Jan 2019 16:30:05 +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) }