Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LSP? #128

Open
rye opened this issue Jun 16, 2019 · 1 comment
Open

LSP? #128

rye opened this issue Jun 16, 2019 · 1 comment

Comments

@rye
Copy link
Member

rye commented Jun 16, 2019

One of the stated goals of our Emacs configuration is to:

  • Have a focus on excellent support for individual languages.

The problem of supporting many languages is a complicated one. For the community, the workload required to support m languages on n editors is O(m n), as you might expect.

LSP, the Language Server Protocol, aims to turn this from O(m n) to O(m + n), by offloading general tasks to a separate process that is implemented for the specific language. In this way, an editor only needs to implement bindings to connect to a language server and handle its responses, and the language server can be provided by those who are familiar with the language.

Is there interest in adopting lsp-mode? It has nice integrations with flycheck and company-mode too.

Here's an example of what lsp-ui presents in rust-mode. Quite rich!

image

@rye
Copy link
Member Author

rye commented Nov 30, 2019

I have some fundamental support for this on my personal configuration, using flycheck, lsp-mode, and lsp-ui.

I'll open a PR to upstream these into the main configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant