mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-09 16:54:36 +02:00
plugins/nvim-lsp: add per-server onAttach option (#341)
This commit is contained in:
parent
838f616f0a
commit
bc468178ae
3 changed files with 39 additions and 3 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue