coc-settings.json 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. ],
  33. "coc.preferences.hoverTarget": "float",
  34. // python config
  35. "python.linting.enabled": true,
  36. "python.linting.pylintEnabled": true,
  37. "python.formatting.provider": "black",
  38. "python.formatting.blackPath": "~/.miniconda/envs/neovim/bin/black",
  39. // "python.linting.pylintPath": "~/.miniconda/envs/neovim/bin/pylint",
  40. "python.condaPath": "~/.miniconda/bin/conda",
  41. "python.sortImports.path": "~/.miniconda/envs/neovim/bin/isort",
  42. "python.jediPath": "~/.miniconda/envs/neovim/lib/python3.8/site-packages",
  43. // snippets
  44. "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
  45. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  46. // emmet
  47. "emmet.includeLanguages": {
  48. "vue-html": "html",
  49. "javascript": "javascriptreact"
  50. },
  51. // explorer
  52. "explorer.width": 30,
  53. "explorer.icon.enableNerdfont": true,
  54. "explorer.previewAction.onHover": false,
  55. "explorer.icon.enableVimDevicons": false,
  56. "explorer.keyMappings": {
  57. "<cr>": ["expandable?", "expand", "open"],
  58. "v": "open:vsplit"
  59. },
  60. "languageserver": {
  61. "bash": {
  62. "command": "bash-language-server",
  63. "args": ["start"],
  64. "filetypes": ["sh"],
  65. "ignoredRootPaths": ["~"]
  66. }
  67. }
  68. // TODO b:coc_suggest_disable=1 GOYO
  69. // TODO add to paths.vim g:coc_node_path
  70. }