Comments (7)
Wrt the extra lines, see #27. About the parts of the message that are missing, I'm guessing the errorformat is somehow wrong. When I have ported makers from syntastic and it doesn't work right, usually there is some subtle difference between the errorformats. Unfortunately I'm no expert on vim's errorformat system, so I can't see the issue right off the bat. I can't look at it right away, but if you don't have any luck with it I'd be happy to try my hand at it sometime soon.
from neomake.
I actually think this has to do with #15. When I ran each linter in isolation, it worked perfectly. Do you get the same results every time? It's possible that some multiline messages are getting split up between two different job activity handler calls. Try putting let g:neomake_serialize = 1
somewhere in your ~/.vimrc and let me know if that fixes it.
from neomake.
Hmm, when I enable neomake_serialize
I don't receive any hints from ghcmod at all(although I do get Neomake: ghcmod complete
).
When I change haskell_enabled_makers to only ghcmod
, I get the same erroneous output as above(without the HLint feeback).
from neomake.
Ok, I would make sure your version of neovim is relatively recent. I've been building weekly from master and testing agains that. Sometime this weekend I'll see if I can't get this going for myself and track down the different issues here.
from neomake.
Still happening off of nightly.
It seems specific to the top-level binding
warning, I don't see it happening with others during my normal use.
Let me know if you need help getting set up. Usually you can just install cabal-install
via your package manager, then run:
cabal update && cabal install hlint ghc-mod && export PATH=~/.cabal/bin/:$PATH
.
from neomake.
It looks like I was able to figure this out. When running this linters in normal vim, I saw it was outputting ^A
at each place that was breaking in neovim. So I did some digging with ghc-mod check test.hs | hexdump
and saw that ghc-mod is outputting a null byte at each location that breaks. Neovim breaks in a different way from vim; it interprets null bytes in stdout from jobs as newlines it seems. This has come up as a problem with ghc-mod before.
I was able to fix it with a small output formatting step. I included both these makers in the repo as well.
from neomake.
Beautiful, thanks :)
from neomake.
Related Issues (20)
- No maker should be enabled by default. HOT 9
- [QUESTION] How the change clangcheck to use -std=c++2a? HOT 2
- [REQUEST] PLEASE UPDATE THE D MAKERS FILE! HOT 1
- Neomake quickfix not opening lnum: 0 bufnr: 0 ... HOT 3
- Aditional Arguments to clang maker not working HOT 2
- golang build tags can't set
- "E788: Not allowed to edit another buffer now" when opening the locations window HOT 1
- "Key not present in Dictionary: "maker_jobs)"" with automake HOT 2
- eslint does not show linting errors (rubocop does show) HOT 9
- option for using quickfix list only HOT 4
- Making C++ header files results in uncleaned `.gch` files
- Run eslint for the whole project
- How to define maker that only supports project mode HOT 1
- Default ruby maker does not work with ruby version >= 3 HOT 2
- python: frosted is deprecated in favor of flake8
- g:neomake_logfile variable expansion not working homedir: ie., $HOME and ~ HOT 2
- Make neomake pick local tsc executable HOT 3
- feature: on/off switch to exclusively report to vim.diagnostic HOT 1
- Temporary files left over HOT 2
- Neomake: Exe (ruby-lint) of maker rubylint is not executable. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neomake.