plugins/nvim-lsp: add per-server onAttach option (#341)

This commit is contained in:
Gaétan Lepage 2023-04-19 14:30:02 +02:00 committed by GitHub
parent 838f616f0a
commit bc468178ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 3 deletions

View file

@ -25,7 +25,12 @@
servers = {
bashls.enable = true;
clangd.enable = true;
clangd = {
enable = true;
onAttach.function = ''
print('The clangd language server has been attached !')
'';
};
nil_ls.enable = true;
rust-analyzer.enable = true;
pylsp = {