coc-settings.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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/snips"],
  38. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  39. // emmet
  40. "emmet.includeLanguages": {
  41. "vue-html": "html",
  42. "javascript": "javascriptreact"
  43. },
  44. // explorer
  45. "explorer.width": 30,
  46. "explorer.icon.enableNerdfont": true,
  47. "explorer.previewAction.onHover": false,
  48. "explorer.icon.enableVimDevicons": false,
  49. "explorer.keyMappings": {
  50. "<cr>": ["expandable?", "expand", "open"],
  51. "v": "open:vsplit"
  52. },
  53. "languageserver": {
  54. "bash": {
  55. "command": "bash-language-server",
  56. "args": ["start"],
  57. "filetypes": ["sh"],
  58. "ignoredRootPaths": ["~"]
  59. }
  60. }
  61. // TODO language servers
  62. // TODO g:coc_global_extensions
  63. // TODO b:coc_suggest_disable=1 GOYO
  64. // TODO add to paths.vim g:coc_node_path
  65. }