mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
fix(completion): don't add backslash in runtime completion
Problem: Bashslashes added as regexp in runtime completion may be treated as path separator with some 'isfname' value. Solution: Make curly braces work for runtime completion and use it.
This commit is contained in:
@@ -18,7 +18,10 @@ describe('runtime:', function()
|
||||
io.open(init, 'w'):close() -- touch init file
|
||||
clear{args = {'-u', init}}
|
||||
exec('set rtp+=' .. plug_dir)
|
||||
exec('set completeslash=slash')
|
||||
exec([[
|
||||
set completeslash=slash
|
||||
set isfname+=(,)
|
||||
]])
|
||||
end)
|
||||
|
||||
teardown(function()
|
||||
|
Reference in New Issue
Block a user