This repository has been archived on 2024-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
neovim/plugins/lsp/default.nix

17 lines
414 B
Nix
Raw Normal View History

2022-09-16 23:42:53 +03:00
{ nvim-lspconfig, luasnip, nvim-cmp, cmp-nvim-lsp, cmp_luasnip, ... }:
2022-09-16 09:59:25 +03:00
{
2022-09-16 23:42:53 +03:00
luaConfig = (builtins.readFile ./lspconfig.lua)
+ (builtins.readFile ./nvim-cmp.lua);
2022-09-16 09:59:25 +03:00
plugins = [
2022-09-16 23:42:53 +03:00
nvim-lspconfig # Collection of configurations for built-in LSP client
luasnip # Snippets plugin
nvim-cmp # Autocompletion
cmp-nvim-lsp # LSP source for nvim-cmp
cmp_luasnip # Snippets source for nvim-cmp
2022-09-16 09:59:25 +03:00
];
}