aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorJonas Strittmatter <40792180+smjonas@users.noreply.github.com>2023-06-10 03:37:05 +0200
committerGitHub <noreply@github.com>2023-06-10 09:37:05 +0800
commit7154f0c98619d0789618f370a6c7f81ee1775469 (patch)
tree956658ebedde01623921aa434a29a3a11deeac1c /runtime/doc
parent5959b3c9222629c0e6020672ad5b13d0ed707c99 (diff)
downloadrneovim-7154f0c98619d0789618f370a6c7f81ee1775469.tar.gz
rneovim-7154f0c98619d0789618f370a6c7f81ee1775469.tar.bz2
rneovim-7154f0c98619d0789618f370a6c7f81ee1775469.zip
docs: fix typos (#23917)
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/lua.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index babd9b801c..91d18bbe85 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -2563,7 +2563,7 @@ set({mode}, {lhs}, {rhs}, {opts}) *vim.keymap.set()*
-- Map to a Lua function:
vim.keymap.set('n', 'lhs', function() print("real lua function") end)
-- Map to multiple modes:
- vim.keymap.set({'n', 'v'}, '<leader>lr', vim.lsp.buf.references, { buffer=true })
+ vim.keymap.set({'n', 'v'}, '<leader>lr', vim.lsp.buf.references, { buffer = true })
-- Buffer-local mapping:
vim.keymap.set('n', '<leader>w', "<cmd>w<cr>", { silent = true, buffer = 5 })
-- Expr mapping:
@@ -2697,8 +2697,8 @@ find({names}, {opts}) *vim.fs.find()*
directories
joinpath({...}) *vim.fs.joinpath()*
- Concatenate directories and/or file into a single path with normalization
- (e.g., `"foo/"` and `"bar"` get joined to `"foo/bar"`)
+ Concatenate directories and/or file paths into a single path with
+ normalization (e.g., `"foo/"` and `"bar"` get joined to `"foo/bar"`)
Parameters: ~
• {...} (string)