coc-settings.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. // suggestions
  3. // "suggest.echodocSupport": true,
  4. // TODO add more labels and give them cool glyphs
  5. "suggest.completionItemKindLabels": {
  6. "text": "t",
  7. "method": "m",
  8. "function": ""
  9. },
  10. // diagnostics
  11. "diagnostic.errorSign": " ",
  12. "diagnostic.warningSign": " ",
  13. "diagnostic.infoSign": "",
  14. "diagnostic.hintSign": " ",
  15. // "diagnostic.virtualText": true, // this won't work with codelens when error on same line
  16. // "diagnostic.displayByAle": true,
  17. // codelens TODO what does this get me?
  18. // "codeLens.enable": true,
  19. // list
  20. "list.indicator": ">",
  21. "list.selectedSignText": " ",
  22. // autoformat
  23. "coc.preferences.formatOnSaveFiletypes": [
  24. "css",
  25. "markdown",
  26. "javascript",
  27. "graphql",
  28. "html",
  29. "yaml",
  30. "json",
  31. "python",
  32. "java"
  33. ],
  34. "coc.preferences.hoverTarget": "float",
  35. // python config
  36. "python.linting.enabled": true,
  37. "python.linting.pylintEnabled": true,
  38. "python.formatting.provider": "black",
  39. // "python.formatting.blackPath": "~/.local/bin/black",
  40. // "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
  41. "python.condaPath": "~/.miniconda/bin/conda",
  42. "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
  43. "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
  44. // snippets
  45. "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
  46. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  47. // emmet
  48. "emmet.includeLanguages": {
  49. "vue-html": "html",
  50. "javascript": "javascriptreact"
  51. },
  52. // explorer
  53. "explorer.width": 30,
  54. "explorer.icon.enableNerdfont": true,
  55. "explorer.previewAction.onHover": false,
  56. "explorer.icon.enableVimDevicons": false,
  57. "explorer.keyMappings": {
  58. "<cr>": ["expandable?", "expand", "open"],
  59. "v": "open:vsplit"
  60. },
  61. "languageserver": {
  62. "bash": {
  63. "command": "bash-language-server",
  64. "args": ["start"],
  65. "filetypes": ["sh"],
  66. "ignoredRootPaths": ["~"]
  67. }
  68. },
  69. //coc-emoji
  70. "coc.source.emoji.filetypes": ["markdown"]
  71. // TODO b:coc_suggest_disable=1 GOYO
  72. // TODO add to paths.vim g:coc_node_path
  73. }