From 03d8446b3beb368e4a379ed93c0b28e782046266 Mon Sep 17 00:00:00 2001 From: Daniel Kahlenberg <573@users.noreply.github.com> Date: Wed, 18 Sep 2024 17:11:53 +0200 Subject: [PATCH] Use fmt Apply formatting. Use `attrValues` as well. Github issue #592 --- nixd/docs/editors/nvim-lsp.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixd/docs/editors/nvim-lsp.nix b/nixd/docs/editors/nvim-lsp.nix index 5391d9cd0..e768a0d45 100644 --- a/nixd/docs/editors/nvim-lsp.nix +++ b/nixd/docs/editors/nvim-lsp.nix @@ -11,7 +11,9 @@ let ''; packages.myPlugins.start = with pkgs.vimPlugins; [ - (nvim-treesitter.withPlugins (parsers: [ parsers.nix parsers.markdown parsers.markdown_inline ])) + (nvim-treesitter.withPlugins ( + parsers: builtins.attrValues { inherit (parsers) nix markdown markdown_inline; } + )) friendly-snippets luasnip nvim-cmp