kickstart.nvim
kickstart.nvim copied to clipboard
move server config to easy to extend style
Alternative to #54
@j2501987804 what do you think of this style instead?
Easier to follow, I'd say, and easier to extract should you not want to set them up via mason lsp-config.
@craigmac @MaxVerevkin thoughts on new style? found a new setup that's pretty nice for mason-lspconfig that I wasn't aware of from #74
I like it. It also allows setting up new servers without editing the config (i.e. I can install a server and it will just work).
Ditto.
(Apologies for commenting on a closed PR; I will gladly move elsewhere!)
Does this change allow for users to extend the language server list without directly modifying the init.lua file? I've been looking at using Kickstart by symlinking into my config directory as mentioned here but haven't found a way to do what I want... Any ideas?
extend the language server list without directly modifying the init.lua file?
Yes, just install them using :Mason
.
Yes, just install them using :Mason.
Got it... Thank you, @MaxVerevkin!
I was worried that servers not added to the the local servers
variable would miss out the completion capabilities configured here:
https://github.com/nvim-lua/kickstart.nvim/blob/521940693e10eee57f4e67dce960d2229c1441d3/init.lua#L357-L379
Nope, pretty sure they get picked up. But you should read Mason documentation to understand that better (and I should probably too haha)
It seems that not all languages are settings, such as gopls, which provides {cmd,filetypes,filetypes} attributes