aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorChris LaRose <cjlarose@gmail.com>2020-01-26 00:24:42 -0800
committerJustin M. Keyes <justinkz@gmail.com>2020-01-26 00:24:42 -0800
commitc6ff23d7a0d5ccf0d8995e3204c18df55d28fc7f (patch)
tree0614f7241a3fccd0c708d541bdc9e5ab4e15afca /runtime/lua/vim/shared.lua
parent451af7f08779ba39d3ebef4b2295ba702cc4f3d7 (diff)
downloadrneovim-c6ff23d7a0d5ccf0d8995e3204c18df55d28fc7f.tar.gz
rneovim-c6ff23d7a0d5ccf0d8995e3204c18df55d28fc7f.tar.bz2
rneovim-c6ff23d7a0d5ccf0d8995e3204c18df55d28fc7f.zip
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>
Diffstat (limited to 'runtime/lua/vim/shared.lua')
-rw-r--r--runtime/lua/vim/shared.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/shared.lua b/runtime/lua/vim/shared.lua
index a71e9878bb..ea1117a906 100644
--- a/runtime/lua/vim/shared.lua
+++ b/runtime/lua/vim/shared.lua
@@ -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