Conversation
|
I don't still understand why this fix #421. please explain. |
|
For this example, I have a test file named Running Exuberant Ctags 5.8 on this file with the appropriate options, as defined in Running Universal Ctags on this file (I used the 2018-07-18 release) yields: Note the double backslashes in the file name. These lines are parsed in the where Note the call to For the Universal Ctags case, the equivalent call would be As I mentioned before, my solution is to replace double backslashes with single forward slashes. So for our example, the Universal Ctags filename would be modified to |
On Windows, universal-ctags escapes backslashes in filenames with another backslash. For example, a filename in a tags file may appear as
C:\\tmp\\test.cppwhereas Exuberant Ctags would write the filename asC:\tmp\test.cpp. This would causebufnr()function calls for those filenames to fail.My solution is to replace the double backslashes with single forward slashes before passing the filenames to
bufnr.