From 3cba3ca30c167d484dbf85f25685ed6cf4f87014 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Mon, 30 Sep 2024 01:10:33 +0300 Subject: [PATCH 1/5] statusline/lualine: disable LSP indicator on neo-tree --- modules/plugins/statusline/lualine/lualine.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugins/statusline/lualine/lualine.nix b/modules/plugins/statusline/lualine/lualine.nix index 5135794..20b78af 100644 --- a/modules/plugins/statusline/lualine/lualine.nix +++ b/modules/plugins/statusline/lualine/lualine.nix @@ -224,7 +224,7 @@ in { local buf_ft = vim.api.nvim_get_option_value('filetype', {}) -- List of buffer types to exclude - local excluded_buf_ft = {"toggleterm", "NvimTree", "TelescopePrompt"} + local excluded_buf_ft = {"toggleterm", "NvimTree", "neo-tree", "TelescopePrompt"} -- Check if the current buffer type is in the excluded list for _, excluded_type in ipairs(excluded_buf_ft) do From 7417c6e4f382f847f841db84c6cb26bcb82716de Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 1 Oct 2024 08:12:06 +0300 Subject: [PATCH 2/5] docs: fix missing documentation link in README --- .github/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/README.md b/.github/README.md index 1c3e22c..531d062 100644 --- a/.github/README.md +++ b/.github/README.md @@ -124,10 +124,16 @@ The _recommended_ way of installing **nvf** is using either the NixOS or the Home-Manager module, though it is completely possible and no less supported to install **nvf** as a standalone package, or a flake output. -See the [**nvf** manual] for detailed and up-to-date installation guides, +See the rendered [nvf manual] for detailed and up-to-date installation guides, configurations, available options, release notes and more. Tips for installing userspace plugins is also contained in the documentation. +> [!TIP] +> While using NixOS or Home-Manager modules, +> `programs.nvf.enableManpages = true;` will allow you to view option +> documentation from the comfort of your terminal via `man 5 nvf`. The more you +> know. + Please create an issue on the [issue tracker] if you find the documentation lacking or confusing. Any improvements to the documentation through pull requests are also welcome, and appreciated. From 9ea9995b928087e60d4029c370707f998f575179 Mon Sep 17 00:00:00 2001 From: raf Date: Tue, 1 Oct 2024 05:18:29 +0000 Subject: [PATCH 3/5] statusline/lualine: update & add missing themes (#393) * statusline/lualine: update & add missing themes * docs: document lualine update --- docs/release-notes/rl-0.7.md | 4 ++++ flake.lock | 6 +++--- modules/plugins/statusline/lualine/lualine.nix | 7 +++++++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/docs/release-notes/rl-0.7.md b/docs/release-notes/rl-0.7.md index 55746f2..817c829 100644 --- a/docs/release-notes/rl-0.7.md +++ b/docs/release-notes/rl-0.7.md @@ -193,6 +193,10 @@ everyone. - Add [](#opt-vim.dashboard.dashboard-nvim.setupOpts) to allow user configuration for [dashboard.nvim](https://github.com/nvimdev/dashboard-nvim) +- Update `lualine.nvim` input and add missing themes: + - Adds `ayu`, `gruvbox_dark`, `iceberg`, `moonfly`, `onedark`, + `powerline_dark` and `solarized_light` themes. + [ppenguin](https://github.com/ppenguin): - Telescope: diff --git a/flake.lock b/flake.lock index ecc02f2..7775fb1 100644 --- a/flake.lock +++ b/flake.lock @@ -799,11 +799,11 @@ "plugin-lualine": { "flake": false, "locked": { - "lastModified": 1712310396, - "narHash": "sha256-WcH2dWdRDgMkwBQhcgT+Z/ArMdm+VbRhmQftx4t2kNI=", + "lastModified": 1723473562, + "narHash": "sha256-gCm7m96PkZyrgjmt7Efc+NMZKStAq1zr7JRCYOgGDuE=", "owner": "hoob3rt", "repo": "lualine.nvim", - "rev": "0a5a66803c7407767b799067986b4dc3036e1983", + "rev": "b431d228b7bbcdaea818bdc3e25b8cdbe861f056", "type": "github" }, "original": { diff --git a/modules/plugins/statusline/lualine/lualine.nix b/modules/plugins/statusline/lualine/lualine.nix index 20b78af..1f694ea 100644 --- a/modules/plugins/statusline/lualine/lualine.nix +++ b/modules/plugins/statusline/lualine/lualine.nix @@ -17,29 +17,36 @@ "ayu_dark" "ayu_light" "ayu_mirage" + "ayu" "codedark" "dracula" "everforest" "gruvbox" + "gruvbox_dark" "gruvbox_light" "gruvbox_material" "horizon" "iceberg_dark" "iceberg_light" + "iceberg" "jellybeans" "material" "modus_vivendi" "molokai" + "moonfly" "nightfly" "nord" "oceanicnext" + "onedark" "onelight" "palenight" "papercolor_dark" "papercolor_light" + "powerline_dark" "powerline" "seoul256" "solarized_dark" + "solarized_light" "tomorrow" "wombat" ]; From 108cfd8383b0cfbdfd6266f88f307e80f9ef7ddc Mon Sep 17 00:00:00 2001 From: diniamo <55629891+diniamo@users.noreply.github.com> Date: Wed, 2 Oct 2024 18:21:45 +0200 Subject: [PATCH 4/5] themes/catppuccin: enable navic integration (#395) --- modules/plugins/theme/supported-themes.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 63335e4..17208ea 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -69,7 +69,7 @@ in { notify = true, -- nvim-notify which_key = true, navic = { - enabled = false, + enabled = true, custom_bg = "NONE", -- "lualine" will set background to mantle }, }, From cc14a1c1f6dad0df576a08f7ac5a0c9c7c6f0700 Mon Sep 17 00:00:00 2001 From: poz Date: Fri, 4 Oct 2024 16:00:17 +0200 Subject: [PATCH 5/5] 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}) '';