mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 18:37:02 +10:00
escape amatch filename (#7292)
Fixes #7046 Fixes autozimu/LanguageClient-neovim#77
This commit is contained in:
committed by
Justin M. Keyes
parent
37609db6d0
commit
460aab3950
@@ -89,7 +89,8 @@ endfunction
|
||||
|
||||
function! remote#define#AutocmdOnHost(host, method, sync, name, opts)
|
||||
let group = s:GetNextAutocmdGroup()
|
||||
let forward = '"doau '.group.' '.a:name.' ".'.'expand("<amatch>")'
|
||||
let forward = '"doau '.group.' '.a:name.' ".'
|
||||
\ . 'fnameescape(expand("<amatch>"))'
|
||||
let a:opts.group = group
|
||||
let bootstrap_def = s:GetAutocmdPrefix(a:name, a:opts)
|
||||
\ .' call remote#define#AutocmdBootstrap("'.a:host.'"'
|
||||
|
||||
Reference in New Issue
Block a user