mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
plugins/lsp-format: use lsp.onAttach
instead of an autoCmd
This commit is contained in:
parent
a45b5f372f
commit
c26f5c2e31
2 changed files with 38 additions and 28 deletions
|
@ -76,4 +76,19 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
listed-servers = {
|
||||
plugins = {
|
||||
lspconfig.enable = true;
|
||||
|
||||
lsp-format = {
|
||||
enable = true;
|
||||
lspServersToEnable = [
|
||||
"foo"
|
||||
"bar"
|
||||
"baz"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue