From cc14a1c1f6dad0df576a08f7ac5a0c9c7c6f0700 Mon Sep 17 00:00:00 2001 From: poz Date: Fri, 4 Oct 2024 16:00:17 +0200 Subject: [PATCH] plugins/neo-tree: fix file icons (#397) --- docs/release-notes/rl-0.7.md | 5 ++++- modules/plugins/filetree/neo-tree/config.nix | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index 817c829..0be6ef3 100644 --- a/docs/release-notes/rl-0.7.md +++ b/docs/release-notes/rl-0.7.md @@ -80,13 +80,16 @@ everyone. [ocaml-lsp]: https://github.com/ocaml/ocaml-lsp [new-file-template.nvim]: https://github.com/otavioschwanck/new-file-template.nvim +[neo-tree.nvim]: https://github.com/nvim-neo-tree/neo-tree.nvim - Add [ocaml-lsp] support - Fix "Emac" typo - Add [new-file-template.nvim] to automatically fill new file contents using - templates. + templates + +- Make [neo-tree.nvim] display file icons properly by enabling `visuals.nvimWebDevicons` [diniamo](https://github.com/diniamo): diff --git a/modules/plugins/filetree/neo-tree/config.nix b/modules/plugins/filetree/neo-tree/config.nix index df8e84b..be67df1 100644 --- a/modules/plugins/filetree/neo-tree/config.nix +++ b/modules/plugins/filetree/neo-tree/config.nix @@ -20,6 +20,8 @@ in { "neo-tree-nvim" ]; + visuals.nvimWebDevicons.enable = true; + pluginRC.neo-tree = entryAnywhere '' require("neo-tree").setup(${toLuaObject cfg.setupOpts}) '';