mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
terminal: absolute CWD in term:// URI #11289
This makes it possible to restore the working directory of :terminal buffers when reading those buffers from a session file. Fixes #11288 Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:

committed by
Justin M. Keyes

parent
451af7f087
commit
c6ff23d7a0
@@ -321,7 +321,7 @@ function vim.trim(s)
|
||||
return s:match('^%s*(.*%S)') or ''
|
||||
end
|
||||
|
||||
--- Escapes magic chars in a Lua pattern string.
|
||||
--- Escapes magic chars in a Lua pattern.
|
||||
---
|
||||
--@see https://github.com/rxi/lume
|
||||
--@param s String to escape
|
||||
|
Reference in New Issue
Block a user