Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vim make creates new file with Quickfix - Errorformat

This seems to be caused by errorformat being wrong, but I'm not sure what's causing it looking at the current value.

Result of :make %

/Users/seanhess/sandbox/typescript/main.ts (62,15): Expected ';'
"~/sandbox/typescript/main.ts " [New File]    

Current value of set errorformat?

errorformat= %#%f(%l\,%c): %m

If it helps, here's the bundle where it is defined. https://github.com/leafgarland/typescript-vim/blob/master/compiler/typescript.vim

like image 738
Sean Clark Hess Avatar asked May 23 '26 07:05

Sean Clark Hess


1 Answers

Apparently %# is equivalent to * in regex

errorformat=\ %#%f\ %#(%l\\\,%c):\ %m
like image 106
Sean Clark Hess Avatar answered May 26 '26 17:05

Sean Clark Hess



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!