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

Better on_attach from many sources #31

Open
kunzaatko opened this issue Jan 18, 2022 · 1 comment
Open

Better on_attach from many sources #31

kunzaatko opened this issue Jan 18, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request LSP Anything that relates to the neovim built-in LSP client and dianogstics plug-in Considering, adding, or configuring plug-ins.
Milestone

Comments

@kunzaatko
Copy link
Owner

kunzaatko commented Jan 18, 2022

on_attach to be a globally scoped table and add to that table from anywhere. Finally after
everything that can attach to the table is loaded (using packer feature after for the plugin
lsp-config), call a general function that executes every function in the list, that got attached
from the different plugins.

@kunzaatko kunzaatko added LSP Anything that relates to the neovim built-in LSP client and dianogstics enhancement New feature or request plug-in Considering, adding, or configuring plug-ins. labels Jan 18, 2022
@kunzaatko kunzaatko self-assigned this Jan 18, 2022
@kunzaatko
Copy link
Owner Author

This will use after from packer to sequence the addition of packages that are used in the LSP.

@kunzaatko kunzaatko added this to the Stable config milestone Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request LSP Anything that relates to the neovim built-in LSP client and dianogstics plug-in Considering, adding, or configuring plug-ins.
Projects
None yet
Development

No branches or pull requests

1 participant