:init (setq lsp-keymap-prefix "C-c l")
:hook (python-mode . lsp-deferred))
The doc for lsp-deferred:
Entry point that defers server startup until buffer is visible.
lsp-deferred will wait until the buffer is visible before invoking lsp.
This avoids ...
Bad form just to link but possibly this helps:
It covers how to add workspace folders and also how to reset your lsp settings to get a prompt.
There appears to be a bug in lsp-mode which causes lsp-headerline-breadcrumb-enable to not work as expected.
I believe the following workaround should result in the desired behavior (no breadcrumb):
(add-hook 'lsp-mode-hook #'lsp-headerline-breadcrumb-mode)
This will call lsp-headerline-breadcrumb-mode each time lsp mode is enabled. Because of the ...
I still don't know how to use the lsp-json-schemas variable, but with this mode properly activated in emacs you can add a top-level $schema property to the object you are presumably editing in the file and the auto-completions and other features will kick in.
The LSP server just provides a list of action names that are applicable, and the client must request that the server invoke them. This means that the client doesn't actually know how they're implemented or what the full set of actions will be, and that they cannot be interactive commands. Instead there is only a command that lets you select which action you ...
You'll end up doing it the same way most programming modes do syntax highlighting: by matching regular expressions against the buffer contents. You'll want to search backwards for the beginning of the function, and then search forwards from there to find the end of it.
Using LSP is a nice idea, but the protocol doesn't deal in the actual syntax of the ...