Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

[WIP] Fixed LSP servers not installing with +lsp in doomrc #149

Merged
merged 3 commits into from
Oct 1, 2021

Conversation

connorgmeehan
Copy link
Collaborator

I think the issue is due to a race condition from the part of the code that installs the LSPs running before Packer is done lazy loading nvim-lspinstall and nvim-lspconfig. I mirrored the way nvim-treesitter works by moving the installation into the config file of nvim-lspinstall. There's still some bugs that I need to iron out before this is production ready.

This is still a work in progress, open to feedback :)

Start of discussion in #87

Copy link
Collaborator

@NTBBloodbath NTBBloodbath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thank you so much per doing this. Everything looks good to me, awesome work mate!

There's still some bugs that I need to iron out before this is production ready.

Are those bugs still here? Being honest I can't find any bug right now. Let me know if they're already squashed so we can merge this awesome fix :)

p.s.: you can ignore the linter CI failing, it's complaining about a trailing whitespace in a comment and our formatter should get rid of it after merging this.

@NTBBloodbath NTBBloodbath added branch: main For stuff regarding to main branch scope: enhancement New feature or request labels Oct 1, 2021
@connorgmeehan
Copy link
Collaborator Author

Hmmm Yeah you're right, I was getting an indexing error but I think that was due to some other changes that packer was caching or something. Sweet, happy to help :)

@NTBBloodbath NTBBloodbath merged commit 136cae3 into doom-neovim:main Oct 1, 2021
@NTBBloodbath NTBBloodbath linked an issue Oct 2, 2021 that may be closed by this pull request
@connorgmeehan connorgmeehan deleted the override-lsp branch October 3, 2021 01:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
branch: main For stuff regarding to main branch scope: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug?] Lsp servers fail to start
2 participants