We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7a14bf commit 08f4e88Copy full SHA for 08f4e88
1 file changed
lib/solargraph/workspace.rb
@@ -32,6 +32,7 @@ def initialize directory = '', config = nil
32
load_sources
33
@gemnames = []
34
@require_paths = generate_require_paths
35
+ setup_load_paths
36
require_plugins
37
end
38
@@ -208,5 +209,10 @@ def require_plugins
208
209
210
211
212
+
213
+ def setup_load_paths
214
+ # Make files available to require calls in for example rubocop
215
+ $LOAD_PATH.unshift *@require_paths
216
+ end
217
218
0 commit comments