coc-settings.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. // list
  21. "list.indicator": ">",
  22. "list.selectedSignText": " ",
  23. // autoformat
  24. "coc.preferences.formatOnSaveFiletypes": [
  25. "css",
  26. "markdown",
  27. "javascript",
  28. "graphql",
  29. "html",
  30. "yaml",
  31. "json",
  32. "python",
  33. "java"
  34. ],
  35. "coc.preferences.hoverTarget": "float",
  36. // python config
  37. "python.linting.enabled": false,
  38. "python.linting.pylintEnabled": false,
  39. "python.formatting.provider": "black",
  40. // "python.formatting.blackPath": "~/.local/bin/black",
  41. // "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
  42. // "python.condaPath": "~/.miniconda/bin/conda",
  43. // "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
  44. // "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
  45. // snippets
  46. "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
  47. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  48. // emmet
  49. "emmet.includeLanguages": {
  50. "vue-html": "html",
  51. "javascript": "javascriptreact"
  52. },
  53. // explorer
  54. "explorer.width": 30,
  55. "explorer.icon.enableNerdfont": true,
  56. "explorer.previewAction.onHover": false,
  57. "explorer.icon.enableVimDevicons": false,
  58. "explorer.file.showHiddenFiles": false,
  59. "explorer.keyMappings": {
  60. "<cr>": ["expandable?", "expand", "open"],
  61. "v": "open:vsplit"
  62. },
  63. //coc-emoji
  64. "coc.source.emoji.filetypes": ["markdown"]
  65. // TODO b:coc_suggest_disable=1 GOYO
  66. // TODO add to paths.vim g:coc_node_path
  67. }