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-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-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",
|
2020-08-04 02:52:44 +02:00
|
|
|
"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-08-07 17:51:01 +02:00
|
|
|
"python.linting.enabled": false,
|
|
|
|
"python.linting.pylintEnabled": false,
|
2020-05-26 06:45:05 +02:00
|
|
|
"python.formatting.provider": "black",
|
2020-08-07 04:32:00 +02:00
|
|
|
// "python.formatting.blackPath": "~/.local/bin/black",
|
2020-05-26 06:45:05 +02:00
|
|
|
// "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
|
2020-08-07 17:51:01 +02:00
|
|
|
// "python.condaPath": "~/.miniconda/bin/conda",
|
|
|
|
// "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
|
|
|
|
// "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
|
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-04-26 20:17:15 +02:00
|
|
|
// explorer
|
|
|
|
"explorer.width": 30,
|
|
|
|
"explorer.icon.enableNerdfont": true,
|
|
|
|
"explorer.previewAction.onHover": false,
|
2020-08-07 05:12:29 +02:00
|
|
|
"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-08-07 04:32:00 +02:00
|
|
|
//coc-emoji
|
|
|
|
"coc.source.emoji.filetypes": ["markdown"]
|
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
|
|
|
}
|