mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
Some LSP servers register capabilities after LspAttach, so the global onAttach body must also run from client/registerCapability for buffers already attached to that client. Keep the initial LspAttach autocmd for servers that advertise capabilities up front, and preserve the wrapped handler's return value. Closes #3323