LunarVim/coc-settings.json

135 lines
3.9 KiB
JSON
Raw Normal View History

2020-04-26 07:39:35 +02:00
{
2020-05-10 19:29:31 +02:00
// suggestions
// "suggest.echodocSupport": true,
2020-05-12 17:31:12 +02:00
// TODO add more labels and give them cool glyphs
"suggest.completionItemKindLabels": {
"text": "t",
"method": "m",
2020-05-26 06:45:05 +02:00
"function": ""
2020-05-12 17:31:12 +02:00
},
2020-11-23 05:38:01 +01:00
"snippets.priority": 1,
//"yank.priority": 1,
"suggest.languageSourcePriority": 99,
"coc.source.file.priority": 2,
"coc.source.around.priority": 3,
"coc.source.buffer.priority": 4,
2020-05-10 19:29:31 +02:00
// diagnostics
2020-05-26 06:45:05 +02:00
"diagnostic.errorSign": " ",
"diagnostic.warningSign": " ",
2020-05-10 19:29:31 +02:00
"diagnostic.infoSign": "",
"diagnostic.hintSign": " ",
// "diagnostic.displayByAle": true,
2020-08-10 22:34:36 +02:00
// "diagnostic.virtualText": true, // this won't work with codelens when error on same line
2020-05-10 19:29:31 +02:00
2020-10-31 02:21:41 +01:00
// codelens
"codeLens.enable": true,
"java.referencesCodeLens.enabled": true,
2020-11-23 05:38:01 +01:00
"java.implementationsCodeLens.enabled": true,
"java.completion.enabled": true,
2020-11-05 01:44:32 +01:00
"java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
2020-05-10 19:29:31 +02:00
// list
"list.indicator": ">",
"list.selectedSignText": " ",
// autoformat
2020-05-12 17:31:12 +02:00
"coc.preferences.formatOnSaveFiletypes": [
"css",
"markdown",
"javascript",
"graphql",
"html",
"yaml",
"json",
"python",
"java"
2020-05-12 17:31:12 +02:00
],
2020-05-10 19:29:31 +02:00
"coc.preferences.hoverTarget": "float",
2020-04-26 07:39:35 +02:00
// python config
2020-11-23 05:38:01 +01:00
"python.analysis.autoImportCompletions": true,
"python.analysis.autoSearchPaths": true,
"python.analysis.diagnosticMode": "openFilesOnly",
"python.analysis.stubPath": "typings",
"python.analysis.typeshedPaths": [],
"python.analysis.diagnosticSeverityOverrides": {},
"python.analysis.typeCheckingMode": "basic",
"python.analysis.useLibraryCodeForTypes": true,
"python.pythonPath": "python",
"python.venvPath": "",
2020-05-26 06:45:05 +02:00
"python.formatting.provider": "black",
2020-11-23 05:38:01 +01:00
"python.formatting.blackPath": "black",
"python.formatting.blackArgs": [],
"python.formatting.autopep8Path": "autopep8",
"python.formatting.autopep8Args": [],
"python.formatting.yapfPath": "yapf",
"python.formatting.yapfArgs": [],
"python.linting.enabled": true,
"python.linting.flake8Enabled": false,
"python.linting.banditEnabled": false,
"python.linting.mypyEnabled": false,
"python.linting.pytypeEnabled": false,
"python.linting.prospectorEnabled": false,
"python.linting.pydocstyleEnabled": false,
"python.linting.pylamaEnabled": false,
"python.linting.pylintEnabled": false,
"pyright.disableCompletion": false,
"pyright.disableLanguageServices": false,
"pyright.disableOrganizeImports": false,
2020-04-26 07:39:35 +02:00
2020-05-10 19:29:31 +02:00
// snippets
2020-05-23 20:47:05 +02:00
"snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
//"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
2020-05-23 19:39:04 +02:00
// emmet
"emmet.includeLanguages": {
"vue-html": "html",
"javascript": "javascriptreact"
},
2020-04-26 07:39:35 +02:00
2020-11-04 00:50:33 +01:00
// CSS (disable since I'm also using stylelintplus)
"css.validate": false,
"less.validate": false,
"scss.validate": false,
"wxss.validate": false,
2020-04-26 20:17:15 +02:00
// explorer
"explorer.width": 30,
2020-11-05 00:30:54 +01:00
"explorer.file.root.template": "[icon] [git] [hidden & 1][root]",
2020-04-26 20:17:15 +02:00
"explorer.icon.enableNerdfont": true,
"explorer.previewAction.onHover": false,
"explorer.icon.enableVimDevicons": false,
2020-10-28 08:12:48 +01:00
"explorer.file.showHiddenFiles": false,
2020-10-31 22:58:48 +01:00
"explorer.keyMappings.global": {
2020-04-26 20:17:15 +02:00
"<cr>": ["expandable?", "expand", "open"],
"v": "open:vsplit"
2020-05-12 00:48:29 +02:00
},
2020-11-05 00:30:54 +01:00
2020-11-23 05:38:01 +01:00
"languageserver": {
"lua": {
"command": "/home/chris/.luambenvs/neovim4/bin/lua-lsp",
"filetypes": ["lua"],
"trace.server": "verbose"
}
},
2020-11-04 00:50:33 +01:00
"bookmark.sign": "",
2020-05-12 00:48:29 +02:00
2020-08-07 04:32:00 +02:00
//coc-emoji
"coc.source.emoji.filetypes": ["markdown"]
2020-05-10 19:29:31 +02:00
2020-11-23 05:38:01 +01:00
// lua
//"lua.useSumnekoLs": true,
//"lua.commandPath": "/home/chris/.luambenvs/neovim3/bin/lua-lsp"
//"lua.enable": true,
//"Lua.completion.enable": true,
//"Lua.runtime.version": "Lua 5.1",
//"Lua.runtime.path": ["?.lua", "?/init.lua", "?/?.lua"],
//"lua.version": "5.1"
//"lua.commandPath": "/home/chris/.vscode-insiders/extensions/sumneko.lua-1.0.5/server/bin/Linux/lua-language-server"
2020-05-10 19:29:31 +02:00
// TODO b:coc_suggest_disable=1 GOYO
// TODO add to paths.vim g:coc_node_path
2020-04-26 07:39:35 +02:00
}