Commit 99b812e
authored
[Suggestion] Do not try to guess a root if lsp--suggest-project-root failed (#3973)
* [Suggestion] Do not try to guess a root if lsp--suggest-project-root failed
Currently, when `lsp-auto-guess-root` is set and `lsp--suggest-project-root`
fails to find a project root, we fall back to `lsp-find-session-folder`.
This PR makes `lsp--suggest-project-root` authoritative when
`lsp-auto-guess-root` is set, thus giving full control to the user.
* Introduce lsp-guess-root-without-session1 parent 33afad3 commit 99b812e
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
248 | 257 | | |
249 | 258 | | |
250 | 259 | | |
| |||
8894 | 8903 | | |
8895 | 8904 | | |
8896 | 8905 | | |
8897 | | - | |
| 8906 | + | |
| 8907 | + | |
8898 | 8908 | | |
8899 | 8909 | | |
8900 | 8910 | | |
| |||
0 commit comments