diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-08-15 13:39:00 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-08-15 13:39:00 +0200 |
commit | c53bda87d0fa6a5cd95595c374215c586bdd7d40 (patch) | |
tree | 6d563bf300d3ae01b51015c514f050a2b4a28444 /lua/user/set.lua | |
parent | 50053eb550b160ddd2e953894398f5e23f0fd9df (diff) |
checkpoint
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" |