neoclide / coc-lists

Common lists for coc.nvim
264 stars 24 forks source link

coc-lists is automatically creating a vimfiles directory for me, even though I already have a .vim directory under Git Bash. #150

Open markwu opened 1 year ago

markwu commented 1 year ago

coc-lists is automatically creating a vimfiles directory for me, even though I already have a .vim directory under Git Bash. It appears that coc-lists is treating my environment as Windows rather than Linux.

My Vim path is /c/Users/markwu/.vim, but coc-lists is creating c:\Users\markwu\vimfiles for me.

My environment is Windows 10 with Git for Windows (Git Bash).

markwu commented 1 year ago

And it is also creating a session files for me automatically.

fannheyward commented 1 year ago

coc-lists will save sessions to vimfiles in window

https://github.com/neoclide/coc-lists/blob/720f8713860a6c45be6aac6b042416c9de680173/src/session.ts#L143

You can change the session.directory manually to .vim folder.