kunzaatko / nvim-dots

NeoVim configuration written in Lua, that strives to be well organised, non-bloated but functional and well documented.
5 stars 0 forks source link

Better on_attach from many sources #31

Open kunzaatko opened 2 years ago

kunzaatko commented 2 years ago

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 commented 2 years ago

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