Skip to content

Commit

Permalink
suggest/manager: quote dirty file path (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
n0bra1n3r authored Aug 8, 2022
1 parent 0f8b395 commit 87afde2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/nim/suggest/manager.vim
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function! s:instance_query(command, opts, ...) abort dict
if dirtyFile =~ invalidChars
throw 'suggest-manager-file-internal: unsupported character in path to dirty file'
endif
let fileQuery .= ';' . dirtyFile
let fileQuery .= ';"' . dirtyFile . '"'
call writefile(getbufline(a:opts.buffer, 1, '$'), dirtyFile, 'S')
endif
if has_key(a:opts, 'pos')
Expand Down

0 comments on commit 87afde2

Please sign in to comment.