-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
languages: inherit lspconfig options from language options #643
base: main
Are you sure you want to change the base?
Conversation
0a00dd5
to
d827ac8
Compare
description = "Filetypes to auto-attach LSP in"; | ||
}; | ||
|
||
cmd = mkOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you think it's necessary to split this into cmd, args? someone might want to override the cmd but keep the args
package = pkgs.asm-lsp; | ||
options = { | ||
capabilities = mkLuaInline "capabilities"; | ||
on_attach = mkLuaInline "attach_keymaps"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not default_on_attach?
options = { | ||
capabilities = mkOption { | ||
type = luaInline; | ||
default = mkLuaInline "default_capabilities"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just "capabilities" I'm pretty sure
No description provided.