coc-settings.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. // suggestions
  3. // "suggest.echodocSupport": true,
  4. // diagnostics
  5. "diagnostic.errorSign": "✗",
  6. "diagnostic.warningSign": "⚠",
  7. "diagnostic.infoSign": "",
  8. "diagnostic.hintSign": " ",
  9. // "diagnostic.displayByAle": true,
  10. // codelens TODO what does this get me?
  11. // "codeLens.enable": true,
  12. // list
  13. "list.indicator": ">",
  14. "list.selectedSignText": " ",
  15. // autoformat
  16. "coc.preferences.formatOnSaveFiletypes": ["css", "markdown", "javascript", "graphql", "html", "yaml", "json", "python"],
  17. "coc.preferences.hoverTarget": "float",
  18. // python config
  19. "python.linting.enabled": true,
  20. "python.linting.pylintEnabled": true,
  21. // snippets
  22. "snippets.ultisnips.directories":
  23. [
  24. "UltiSnips",
  25. "~/.config/nvim/utils/snips"
  26. ],
  27. // explorer
  28. "explorer.width": 30,
  29. "explorer.icon.enableNerdfont": true,
  30. "explorer.previewAction.onHover": false,
  31. "explorer.icon.enableVimDevicons": true,
  32. "explorer.keyMappings": {
  33. "<cr>": ["expandable?", "expand", "open"],
  34. "v": "open:vsplit"
  35. },
  36. "languageserver":{
  37. "bash": {
  38. "command": "bash-language-server",
  39. "args": ["start"],
  40. "filetypes": ["sh"],
  41. "ignoredRootPaths": ["~"]
  42. }
  43. }
  44. // TODO language servers
  45. // TODO g:coc_global_extensions
  46. // TODO b:coc_suggest_disable=1 GOYO
  47. // TODO add to paths.vim g:coc_node_path
  48. }