If you are using "Take Over Mode" for the first time in your project
To begin, open the
*.vue, *.ts, *.js, *.tsx, *.jsx
file.
Then run:CocCommand volar.initializeTakeOverMode
.
When prompted by Enable Take Over Mode? (y/n)?, entery
The .vim/coc-settings.json file will be created in the "project root".
The"volar.takeOverMode.enabled": true
and"tsserver.enable": false
settings will be added.
coc.nvim will be restarted and the settings will be reflected.
If you want to disable Take Over Mode for a project
Delete the .vim/coc-settings.json file in the "project root", and start Vim again.
参考:
https://github.com/yaegassy/coc-volar
标签:project,vue,tsserver,settings,will,coc,file,volar From: https://www.cnblogs.com/3yude/p/17078600.html