Search code examples
vimlanguage-agnosticbuild-process

Leksah like on-change build in vim


I've just given Leksah a try for Haskell development it's nice and all but I'm a Vim man really, but I do really love the little lower right hand pane that re-builds and displays status on every change I make to the source.

It's applicable to many langauges really but is there an existing solution that does this? Something like a deamon that would look for changes in a source file and then re-build/interprert the source files and continuously display the results?

I'm using a tiling window manager so direct console based output would be as good as any.

If not I suppose it'd be a fun holiday project :)


Solution

  • Found a lovely solution to this called 'Flymake' https://github.com/kana/vim-flymake/ based on an emacs utility it's as simple as pointing to the compiler/static analysis tool you want to use and then writing regexes to identify the warnings and errors it outputs.