coc-settings.json 1.5 KB

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