Closed mightyiam closed 2 years ago
Would you mind testing the new branch feat-lsp-system
? It is not going to be "zero config", but is still easy.
The setup would look like this.
local lsp = require('lsp-zero')
lsp.preset('system-lsp')
-- provide the list of servers here...
lsp.setup_servers({
'html',
'cssls',
})
lsp.setup()
You'll need to use .setup_servers
and/or .configure
to initialize your language servers.
I sure will.
I would like to be able to configure some of the servers.
I see. .configure
.
Seems like that branch still depends on nvim-lsp-installer
. Could that require
call be omitted?
Well, well. Seems to be working, other than requiring nvim-lsp-installer
still. I am just assuming that dependency could be optional in this branch.
Well, yes. I've updated the branch. nvim-lsp-installer
is only called when needed. If you can confirm this update works I can merge the branch with main
.
Yup, works without nvim-lsp-installer
.
The new preset is now on main
.
Thank you, @VonHeikemen .
Following up from this tweet.
So, I shouldn't bother trying if I currently intend to provide the servers myself?