coc-settings.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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.displayByAle": true,
  16. // "diagnostic.virtualText": true, // this won't work with codelens when error on same line
  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": false,
  37. "python.linting.pylintEnabled": false,
  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. //coc-emoji
  62. "coc.source.emoji.filetypes": ["markdown"]
  63. // TODO b:coc_suggest_disable=1 GOYO
  64. // TODO add to paths.vim g:coc_node_path
  65. }