Commit 3f0fc39
committed
Recommend adding specs folder exclude list in
During the testing of the gem with the
[gitlabs](https://gitlab.com/gitlab-org/gitlab/-/blob/master/.solargraph.yml.example?ref_type=heads)
codebase, it resulted that there was a significant slow-down of the
solargraph due to specs pre-parsing at language server boot time.
Turns out, Solargraph treats `exclude:` key in `.solargraph.yml` config
file as "exclude pre-indexing" of directory, which in our case is
exactly what we want, being that specs ought to be isolated from one
another and the only dependency should be actually source code & test
utils..solargraph.yml
1 parent 56ac102 commit 3f0fc39
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
53 | | - | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| |||
0 commit comments