代码拉取完成,页面将自动刷新
{
"coc.preferences.formatOnType": true,
"coc.preferences.formatOnSaveFiletypes": ["c", "cpp", "go", "python"],
"coc.preferences.rootPatterns": [".git", ".root", ".project"],
//"coc.preferences.jumpCommand": "tabedit",
//"git.addGBlameToBufferVar": true,
"git.addGBlameToVirtualText": true,
"list.insertMappings": {
"<C-x>": "action:split",
"<C-v>": "action:vsplit",
"<C-t>": "action:tabe"
},
"list.source.files.command":"rg",
"list.source.files.args": ["--files", "--hidden", "--follow"],
"list.source.files.excludePatterns": ["**/.git/*"],
"list.source.files.defaultArgs": ["-F"],
"list.source.grep.defaultArgs": ["-F", "-S", "-e"],
"suggest.enablePreview": true,
"explorer.quitOnOpen": true,
"explorer.width": 30,
// for pyright
//"python.linting.flake8Enabled": true,
//"python.formatting.provider": "yapf",
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": ["c", "cpp", "cuda", "objc", "objcpp"],
"rootPatterns": [".ccls-root", "compile_commands.json", ".vim/", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls-cache"
},
"client": {
"snippetSupport": true
}
}
},
"python": {
"command": "python",
"args": [
"-mpyls",
"-vv",
"--log-file",
"/tmp/lsp_python.log"
],
"trace.server": "verbose",
"filetypes": [
"python"
],
"settings": {
"pyls": {
"enable": true,
"trace": {
"server": "verbose"
},
"commandPath": "",
"configurationSources": [
"pycodestyle"
],
"plugins": {
"jedi_completion": {
"enabled": true
},
"jedi_hover": {
"enabled": true
},
"jedi_references": {
"enabled": true
},
"jedi_signature_help": {
"enabled": true
},
"jedi_symbols": {
"enabled": true,
"all_scopes": true
},
"mccabe": {
"enabled": true,
"threshold": 15
},
"preload": {
"enabled": true
},
"pycodestyle": {
"enabled": true
},
"pydocstyle": {
"enabled": false,
"match": "(?!test_).*\\.py",
"matchDir": "[^\\.].*"
},
"pyflakes": {
"enabled": true
},
"rope_completion": {
"enabled": true
},
"yapf": {
"enabled": true
}
}
}
}
}
} // "languageserver"
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。