coc-settings.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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. "constructor": "'",
  10. "field": "f",
  11. "variable": "",
  12. "class": "",
  13. "interface": "ﰮ",
  14. "module": "",
  15. "property": "",
  16. "unit": "",
  17. "value": "",
  18. "enum": "了",
  19. "keyword": "'",
  20. "snippet": "﬌",
  21. "color": "'",
  22. "file": "'",
  23. "reference": "ref",
  24. "folder": "'",
  25. "enumMember": "'",
  26. "constant": "'",
  27. "struct": "'",
  28. "event": "event",
  29. "operator": "op",
  30. "typeParameter": "tp"
  31. },
  32. "snippets.priority": 1,
  33. //"yank.priority": 1,
  34. "suggest.languageSourcePriority": 99,
  35. "coc.source.file.priority": 2,
  36. "coc.source.around.priority": 3,
  37. "coc.source.buffer.priority": 4,
  38. // diagnostics
  39. "diagnostic.errorSign": " ",
  40. "diagnostic.warningSign": " ",
  41. "diagnostic.infoSign": "",
  42. "diagnostic.hintSign": " ",
  43. // "diagnostic.displayByAle": true,
  44. // "diagnostic.virtualText": true, // this won't work with codelens when error on same line
  45. // codelens
  46. "codeLens.enable": true,
  47. "java.referencesCodeLens.enabled": true,
  48. "java.implementationsCodeLens.enabled": true,
  49. "java.completion.enabled": true,
  50. "java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
  51. // list
  52. "list.indicator": ">",
  53. "list.selectedSignText": " ",
  54. // autoformat
  55. "coc.preferences.formatOnSaveFiletypes": [
  56. "css",
  57. "markdown",
  58. "javascript",
  59. "graphql",
  60. "html",
  61. "yaml",
  62. "json",
  63. "python",
  64. "java"
  65. ],
  66. "coc.preferences.hoverTarget": "float",
  67. // python config
  68. "python.analysis.autoImportCompletions": true,
  69. "python.analysis.autoSearchPaths": true,
  70. "python.analysis.diagnosticMode": "openFilesOnly",
  71. "python.analysis.stubPath": "typings",
  72. "python.analysis.typeshedPaths": [],
  73. "python.analysis.diagnosticSeverityOverrides": {},
  74. "python.analysis.typeCheckingMode": "basic",
  75. "python.analysis.useLibraryCodeForTypes": true,
  76. "python.pythonPath": "python",
  77. "python.venvPath": "",
  78. "python.formatting.provider": "black",
  79. "python.formatting.blackPath": "~/.local/bin/black",
  80. "python.formatting.blackArgs": [],
  81. "python.formatting.autopep8Path": "autopep8",
  82. "python.formatting.autopep8Args": [],
  83. "python.formatting.yapfPath": "yapf",
  84. "python.formatting.yapfArgs": [],
  85. "python.linting.enabled": true,
  86. "python.linting.flake8Enabled": false,
  87. "python.linting.banditEnabled": false,
  88. "python.linting.mypyEnabled": false,
  89. "python.linting.pytypeEnabled": false,
  90. "python.linting.prospectorEnabled": false,
  91. "python.linting.pydocstyleEnabled": false,
  92. "python.linting.pylamaEnabled": false,
  93. "python.linting.pylintEnabled": false,
  94. "pyright.disableCompletion": false,
  95. "pyright.disableLanguageServices": false,
  96. "pyright.disableOrganizeImports": false,
  97. // snippets
  98. "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
  99. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  100. // emmet
  101. "emmet.includeLanguages": {
  102. "vue-html": "html",
  103. "javascript": "javascriptreact"
  104. },
  105. // CSS (disable since I'm also using stylelintplus)
  106. "css.validate": false,
  107. "less.validate": false,
  108. "scss.validate": false,
  109. "wxss.validate": false,
  110. // explorer
  111. "explorer.width": 30,
  112. "explorer.file.root.template": "[icon] [git] [hidden & 1][root]",
  113. "explorer.icon.enableNerdfont": true,
  114. "explorer.previewAction.onHover": false,
  115. "explorer.icon.enableVimDevicons": false,
  116. "explorer.file.showHiddenFiles": false,
  117. "explorer.keyMappings.global": {
  118. "<cr>": ["expandable?", "expand", "open"],
  119. "v": "open:vsplit"
  120. },
  121. /* "languageserver": { */
  122. /* "lua": { */
  123. /* "command": "/home/chris/.luambenvs/neovim4/bin/lua-lsp", */
  124. /* "filetypes": ["lua"], */
  125. /* "trace.server": "verbose" */
  126. /* } */
  127. /* }, */
  128. "bookmark.sign": "",
  129. //coc-emoji
  130. "coc.source.emoji.filetypes": ["markdown"]
  131. // lua
  132. //"lua.useSumnekoLs": true,
  133. //"lua.commandPath": "/home/chris/.luambenvs/neovim3/bin/lua-lsp"
  134. //"lua.enable": true,
  135. //"Lua.completion.enable": true,
  136. //"Lua.runtime.version": "Lua 5.1",
  137. //"Lua.runtime.path": ["?.lua", "?/init.lua", "?/?.lua"],
  138. //"lua.version": "5.1"
  139. //"lua.commandPath": "/home/chris/.vscode-insiders/extensions/sumneko.lua-1.0.5/server/bin/Linux/lua-language-server"
  140. // TODO b:coc_suggest_disable=1 GOYO
  141. // TODO add to paths.vim g:coc_node_path
  142. }