Skip to content

Commit

Permalink
Add src/ to include_dirs in erlang_ls.config
Browse files Browse the repository at this point in the history
So that ErlangLS can find typechecker.hrl, too.
Otherwise, it returned:

```
[2023-06-16T21:26:14.858108+02:00] [warning] Failed to find the following include files for "/Users/erszcz/work/erszcz/gradualizer/test/absform_tests.erl":, ["typechecker.hrl"] [ L] <0.131.0>
[2023-06-16T21:26:14.918620+02:00] [warning] Failed to find the following include files for "/Users/erszcz/work/erszcz/gradualizer/test/typechecker_tests.erl":, ["typechecker.hrl"] [ L] <0.131.0>
[2023-06-16T21:26:14.923993+02:00] [warning] Failed to find the following include files for "/Users/erszcz/work/erszcz/gradualizer/test/typelib_tests.erl":, ["typelib.hrl"] [ L] <0.131.0>
```
  • Loading branch information
erszcz committed Jun 16, 2023
1 parent 3021d29 commit 01fb022
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erlang_ls.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ code_path_extra_dirs:
- "_build/test/lib/gradualizer/test/property_test"
include_dirs:
- "include"
- "src"
- "_build/default/lib/"
diagnostics:
enabled:
Expand Down

0 comments on commit 01fb022

Please sign in to comment.