castwide / solargraph

A Ruby language server.
https://solargraph.org
MIT License
1.87k stars 154 forks source link

Can't require a file in the same directory? #713

Open Nakilon opened 1 month ago

Nakilon commented 1 month ago

I'm trying to start using LSP in Sublime Text 4. My configuration:

    "ruby": {
      "enabled": true,
      "command": ["solargraph", "stdio"],
      "selector": "source.ruby | text.html.ruby",
      "initializationOptions": {
        // "diagnostics": true
      },
      "env": {"RBENV_VERSION": "2.6.6"}
    }

I have a file with module Common but it does not seem to see it: image Added this file:

$ cat .solargraph.yml 
include:
- "common.rb"

but it had no effect. Am I doing it wrong?