Pull requests

#1 Merged
Repository
jebaum jebaum
Branch
default
Repository
abudden abudden
Branch
default

escape file paths

Author
  1. James Baumgarten
Reviewers
Description

trying to run :UpdateTypesFile, or use any TagHighlight features on a file that was in a directory path that contained spaces caused errors. For example, working with the file:

/home/person/directory with spaces in name/file.c

would cause errors. This commit fixes that.

Note that this fixes only file paths with spaces. File names with spaces are still broken, but I don't personally use those. Also, file names with spaces don't throw errors like file paths did, it just silently doesn't work, so I have no idea where to even start looking.

  • Learn about pull requests

Comments (1)

  1. abudden repo owner

    Thanks for this and sorry for the delay in responding to you: I was away over Christmas and am only just starting to get through all the emails that arrived while I was out.