aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-01-13 07:34:31 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:31 +0100
commitd6c32c6796792f181167d68164863170f84c096c (patch)
treeca28b162163c9ac92062d90618eb03d3fa9e6999
parent45baf4fa408463431dfcd6b4d86813ad811f129f (diff)
downloaddotnvim-d6c32c6796792f181167d68164863170f84c096c.tar.gz
dotnvim-d6c32c6796792f181167d68164863170f84c096c.zip
Upgraded vim-plug
-rw-r--r--autoload/plug.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/autoload/plug.vim b/autoload/plug.vim
index b6e4cbf..8a195d3 100644
--- a/autoload/plug.vim
+++ b/autoload/plug.vim
@@ -242,6 +242,8 @@ function! plug#begin(...)
let home = s:path(s:plug_fnamemodify(s:plug_expand(a:1), ':p'))
elseif exists('g:plug_home')
let home = s:path(g:plug_home)
+ elseif has('nvim')
+ let home = stdpath('data') . '/plugged'
elseif !empty(&rtp)
let home = s:path(split(&rtp, ',')[0]) . '/plugged'
else
@@ -405,7 +407,7 @@ function! plug#end()
for [map, names] in items(lod.map)
for [mode, map_prefix, key_prefix] in
- \ [['i', '<C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
+ \ [['i', '<C-\><C-O>', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']]
execute printf(
\ '%snoremap <silent> %s %s:<C-U>call <SID>lod_map(%s, %s, %s, "%s")<CR>',
\ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix)