diff options
Diffstat (limited to 'lua/user/set.lua')
-rw-r--r-- | lua/user/set.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/user/set.lua b/lua/user/set.lua index 9f526f4..cb8dba4 100644 --- a/lua/user/set.lua +++ b/lua/user/set.lua @@ -90,7 +90,7 @@ opt.formatoptions = "cqrnj" -- Get the current working directory, replace the $HOME portion of the path with ~, -- and extract the last three directories -local cwd = vim.fn.getcwd():gsub(os.getenv('HOME'), '~') +local cwd = vim.fn.getcwd():gsub(os.getenv("HOME"), "~") local last_dirs = string.match(cwd, "[^/]+/[^/]+/[^/]+/?$") if last_dirs then opt.titlestring = last_dirs .. " -> %t" |