feat: limit neovim's title length

This commit is contained in:
Ryan Yin
2023-12-27 12:15:27 +08:00
parent de5b30e92a
commit 95b976c171
2 changed files with 32 additions and 16 deletions

View File

@@ -8,6 +8,10 @@ return {
spell = false, -- Spell checking
swapfile = false, -- Swapfile
smartindent = false, -- fix https://github.com/ryan4yin/nix-config/issues/4
title = true; -- Set the title of window to `filename [+=-] (path) - NVIM`
-- The percentage of 'columns' to use for the title
-- When the title is longer, only the end of the path name is shown.
titlelen = 20;
},
},