mrtazz / checkmake

experimental linter/analyzer for Makefiles
MIT License
1.04k stars 45 forks source link

Possibly add an argument for a cleaner error output #21

Closed shmup closed 6 years ago

shmup commented 6 years ago

It'd be nice if there was a way to output a format that was better for vim's errorformat (more things than vim could leverage this), so, not having the Description be split onto two lines for example, i.e.:

    RULE              DESCRIPTION             LINE NUMBER

  minphony   Missing required phony target    0
             "test"

Could output with some argument, as:

miniphony|missing required phony target "test"|0

Ultimately I want to run this within vim, and capture the output by specifying the proper errorformat and display in a QuickFix list.

mrtazz commented 6 years ago

Is the custom formatter enough for your use case there? I also want this to integrate nicely with syntastic at some point. So using checkmake with vim like that is totally in line with how I think it would be most useful

shmup commented 6 years ago

That's perfect! Ha, thanks.