{ nvim-lspconfig , lspsaga-nvim , luasnip , nvim-cmp , cmp-nvim-lsp , cmp_luasnip , ... }: let lsp = [ nvim-lspconfig lspsaga-nvim ]; snippets = [ luasnip ]; completions = [ nvim-cmp # Autocompletion cmp-nvim-lsp # LSP source for nvim-cmp cmp_luasnip # Snippets source for nvim-cmp ]; in { luaConfig = (builtins.readFile ./lspconfig.lua) + (builtins.readFile ./nvim-cmp.lua); plugins = lsp ++ snippets ++ completions; }