1 Star 0 Fork 0

ZenLian / nvim

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
coc-settings.json 3.62 KB
一键复制 编辑 原始数据 按行查看 历史
Zenlian 提交于 2021-11-07 14:05 . keymap: map H/L
{
"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"
}
1
https://gitee.com/ZenLian/nvim.git
git@gitee.com:ZenLian/nvim.git
ZenLian
nvim
nvim
master

搜索帮助