coc-settings.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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
  18. "codeLens.enable": true,
  19. "java.referencesCodeLens.enabled": true,
  20. "java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
  21. // list
  22. "list.indicator": ">",
  23. "list.selectedSignText": " ",
  24. // autoformat
  25. "coc.preferences.formatOnSaveFiletypes": [
  26. "css",
  27. "markdown",
  28. "javascript",
  29. "graphql",
  30. "html",
  31. "yaml",
  32. "json",
  33. "python",
  34. "java"
  35. ],
  36. "coc.preferences.hoverTarget": "float",
  37. // python config
  38. "python.linting.enabled": false,
  39. "python.linting.pylintEnabled": false,
  40. "python.formatting.provider": "black",
  41. // "python.formatting.blackPath": "~/.local/bin/black",
  42. // "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
  43. // "python.condaPath": "~/.miniconda/bin/conda",
  44. // "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
  45. // "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
  46. // snippets
  47. "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
  48. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  49. // emmet
  50. "emmet.includeLanguages": {
  51. "vue-html": "html",
  52. "javascript": "javascriptreact"
  53. },
  54. // CSS (disable since I'm also using stylelintplus)
  55. "css.validate": false,
  56. "less.validate": false,
  57. "scss.validate": false,
  58. "wxss.validate": false,
  59. // explorer
  60. "explorer.width": 30,
  61. "explorer.file.root.template": "[icon] [git] [hidden & 1][root]",
  62. "explorer.icon.enableNerdfont": true,
  63. "explorer.previewAction.onHover": false,
  64. "explorer.icon.enableVimDevicons": false,
  65. "explorer.file.showHiddenFiles": false,
  66. "explorer.keyMappings.global": {
  67. "<cr>": ["expandable?", "expand", "open"],
  68. "v": "open:vsplit"
  69. },
  70. "bookmark.sign": "",
  71. //coc-emoji
  72. "coc.source.emoji.filetypes": ["markdown"]
  73. // TODO b:coc_suggest_disable=1 GOYO
  74. // TODO add to paths.vim g:coc_node_path
  75. }