When project is open and we load the plugin from the plugin manager, we 
can't read the exact project configuration because the 
"project-open" signal that delivers the config file was fired when 
the plugin wasn't loaded. This means we don't know whether the project 
enables LSP support or not. Right now, the plugin simply doesn't start the 
LSP server which is confusing.

Do the opposite - when we don't know whether LSP is enabled or disabled for 
the project, enable LSP by default.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1443

-- Commit Summary --

  * LSP: Enable LSP when we don't know exact project configuration

-- File Changes --

    M lsp/src/lsp-main.c (21)
    M lsp/src/lsp-utils.h (2)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1443.patch
https://github.com/geany/geany-plugins/pull/1443.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1443
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/[email protected]>

Reply via email to