coc-snippets
coc-snippets copied to clipboard
Errors when I use coc-snippets under GIT BASH
I encountered an error after installing coc-snippets in my Windows environment.
I'm using Vim within Git Bash, which is built with MSYS. In this setup, the C:\
drive is represented as /c/
.
Consequently, C:/Users/markwu
becomes /c/Users/markwu
in Git Bash.
However, it seems that coc-snippets is adding C:/
in front of the path, which is causing issues. Even if I manually create the directory /c/Users/markwu/.config/coc/ultisnips
, coc-snippets cannot recognize it.
As a result, I'm encountering the following error when using vim:
[coc.nvim]: Error: ENOENT: no such file or directory, mkdir 'c:\c\Users\markwu\.config\coc\ultisnips'