-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the checker in .merlin presence
Problem: some projects don't use Dune, while using Merlin, configured with the .merlin file. `flycheck-ocaml` is only turned on if the «dune-project» file is present though. As a result, `flycheck-ocaml` is disabled for such projects. Solution: enable the `flycheck-ocaml` checker if either dune-project or .merlin are present. In a round-about way this fixes #15. People who don't use Dune, don't need to create an empty dune-project to use the checker, which was misleading.
- Loading branch information
1 parent
77f8ddb
commit 9eb77f1
Showing
2 changed files
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters