coc-settings.json 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. // suggestions
  3. // "suggest.echodocSupport": true,
  4. /* https://code.visualstudio.com/docs/editor/intellisense reference for vscode symbols*/
  5. /* https://www.nerdfonts.com/cheat-sheet reference to find some other symbols*/
  6. /* some symbols you might like: פּ                 */
  7. /* fb44 this is the hex for nf-mdi-file_tree, should be good for class*/
  8. "suggest.completionItemKindLabels": {
  9. "method": "  ",
  10. "function": "  ",
  11. "variable": "[]",
  12. "field": "  ",
  13. "typeParameter": "<>",
  14. "constant": "  ",
  15. "class": "  ",
  16. "interface": " 蘒",
  17. "struct": "  ",
  18. "event": "  ",
  19. "operator": "  ",
  20. "module": "  ",
  21. "property": "  ",
  22. "enum": " 練",
  23. "reference": "  ",
  24. "keyword": "  ",
  25. "file": "  ",
  26. "folder": " ﱮ ",
  27. "color": "  ",
  28. "unit": " 塞 ",
  29. "snippet": "  ",
  30. "text": "  ",
  31. "constructor": "  ",
  32. "value": "  ",
  33. "enumMember": "  ",
  34. "default": "  "
  35. },
  36. "snippets.priority": 1,
  37. //"yank.priority": 1,
  38. "suggest.languageSourcePriority": 99,
  39. "coc.source.file.priority": 2,
  40. "coc.source.around.priority": 3,
  41. "coc.source.buffer.priority": 4,
  42. // diagnostics
  43. "diagnostic.errorSign": " ",
  44. "diagnostic.warningSign": " ",
  45. "diagnostic.infoSign": "",
  46. "diagnostic.hintSign": " ",
  47. // "diagnostic.displayByAle": true,
  48. // "diagnostic.virtualText": true, // this won't work with codelens when error on same line
  49. // codelens
  50. "codeLens.enable": true,
  51. "java.referencesCodeLens.enabled": true,
  52. "java.implementationsCodeLens.enabled": true,
  53. "java.completion.enabled": true,
  54. "java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
  55. // list
  56. "list.indicator": ">",
  57. "list.selectedSignText": " ",
  58. // autoformat
  59. "coc.preferences.formatOnSaveFiletypes": [
  60. "css",
  61. "markdown",
  62. "javascript",
  63. "graphql",
  64. "html",
  65. "yaml",
  66. "json",
  67. "python",
  68. "java"
  69. ],
  70. "coc.preferences.hoverTarget": "float",
  71. // python config
  72. "python.analysis.autoImportCompletions": true,
  73. "python.analysis.autoSearchPaths": true,
  74. "python.analysis.diagnosticMode": "openFilesOnly",
  75. "python.analysis.stubPath": "typings",
  76. "python.analysis.typeshedPaths": [],
  77. "python.analysis.diagnosticSeverityOverrides": {},
  78. "python.analysis.typeCheckingMode": "basic",
  79. "python.analysis.useLibraryCodeForTypes": true,
  80. "python.pythonPath": "python",
  81. "python.venvPath": "",
  82. "python.formatting.provider": "black",
  83. "python.formatting.blackPath": "~/.local/bin/black",
  84. "python.formatting.blackArgs": [],
  85. "python.formatting.autopep8Path": "autopep8",
  86. "python.formatting.autopep8Args": [],
  87. "python.formatting.yapfPath": "yapf",
  88. "python.formatting.yapfArgs": [],
  89. "python.linting.enabled": true,
  90. "python.linting.flake8Enabled": false,
  91. "python.linting.banditEnabled": false,
  92. "python.linting.mypyEnabled": false,
  93. "python.linting.pytypeEnabled": false,
  94. "python.linting.prospectorEnabled": false,
  95. "python.linting.pydocstyleEnabled": false,
  96. "python.linting.pylamaEnabled": false,
  97. "python.linting.pylintEnabled": false,
  98. "pyright.disableCompletion": false,
  99. "pyright.disableLanguageServices": false,
  100. "pyright.disableOrganizeImports": false,
  101. // snippets
  102. "snippets.ultisnips.directories": ["UltiSnips", "~/.config/nvim/snips"],
  103. //"snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  104. // emmet
  105. "emmet.includeLanguages": {
  106. "vue-html": "html",
  107. "javascript": "javascriptreact"
  108. },
  109. // CSS (disable since I'm also using stylelintplus)
  110. "css.validate": false,
  111. "less.validate": false,
  112. "scss.validate": false,
  113. "wxss.validate": false,
  114. // explorer
  115. "explorer.width": 30,
  116. "explorer.file.root.template": "[icon] [git] [hidden & 1][root]",
  117. "explorer.icon.enableNerdfont": true,
  118. "explorer.previewAction.onHover": false,
  119. "explorer.icon.enableVimDevicons": false,
  120. "explorer.file.showHiddenFiles": false,
  121. "explorer.keyMappings.global": {
  122. "<cr>": ["expandable?", "expand", "open"],
  123. "v": "open:vsplit"
  124. },
  125. /* "languageserver": { */
  126. /* "lua": { */
  127. /* "command": "/home/chris/.luambenvs/neovim4/bin/lua-lsp", */
  128. /* "filetypes": ["lua"], */
  129. /* "trace.server": "verbose" */
  130. /* } */
  131. /* }, */
  132. "bookmark.sign": "",
  133. //coc-emoji
  134. "coc.source.emoji.filetypes": ["markdown"]
  135. // lua
  136. //"lua.useSumnekoLs": true,
  137. //"lua.commandPath": "/home/chris/.luambenvs/neovim3/bin/lua-lsp"
  138. //"lua.enable": true,
  139. //"Lua.completion.enable": true,
  140. //"Lua.runtime.version": "Lua 5.1",
  141. //"Lua.runtime.path": ["?.lua", "?/init.lua", "?/?.lua"],
  142. //"lua.version": "5.1"
  143. //"lua.commandPath": "/home/chris/.vscode-insiders/extensions/sumneko.lua-1.0.5/server/bin/Linux/lua-language-server"
  144. // TODO b:coc_suggest_disable=1 GOYO
  145. // TODO add to paths.vim g:coc_node_path
  146. }