coc-settings.json 3.9 KB

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