]> git.rmz.io Git - dotfiles.git/commitdiff
nvim: show pretty_path in inactive sections too
authorSamir Benmendil <me@rmz.io>
Sun, 16 Feb 2025 00:02:27 +0000 (00:02 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 2 Mar 2025 16:05:27 +0000 (16:05 +0000)
nvim/lua/plugins/ui.lua

index 272c027b787ddcf5a450c3c2efcb2e50fcc252f5..afe5855d1ef3188bdc15b1a4b3016636fb4b1b14 100644 (file)
@@ -251,6 +251,12 @@ return {
             end,
           },
         },
+        inactive_sections = {
+          lualine_c = {
+            { "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
+            { M.pretty_path() },
+          },
+        },
         extensions = { "neo-tree", "lazy", "fzf" },
       }