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

feat: in-process lsp server #100

Merged
merged 5 commits into from
Jan 15, 2024
Merged

feat: in-process lsp server #100

merged 5 commits into from
Jan 15, 2024

Conversation

saecki
Copy link
Owner

@saecki saecki commented Jan 14, 2024

As mentioned in #78, this implements an in-process lsp server.
it can be enabled in the configuration:

require("crates").setup({
    lsp = {
        enable = true,
        on_attach = function(client, buf) end,
    }
})

on_attach can be the same function as passed to any other language servers.

  • code actions
  • completion
  • documentation

@saecki saecki merged commit 28562f6 into main Jan 15, 2024
4 checks passed
@saecki saecki mentioned this pull request Jan 15, 2024
@saecki saecki deleted the lsp branch January 15, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant