coc-settings.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "codeLens.enable": true,
  3. "codeLens.position": "eol",
  4. "coc.preferences.formatOnType": true,
  5. "coc.preferences.enableMessageDialog": true,
  6. "python.formatting.provider": "black",
  7. "python.formatting.blackPath": "/usr/bin/black",
  8. "coc.preferences.formatOnSaveFiletypes": ["python", "java"],
  9. "diagnostic-languageserver.filetypes": {
  10. "sh": "shellcheck"
  11. },
  12. "diagnostic-languageserver.formatFiletypes": {
  13. "sh": "shfmt",
  14. "python": "black"
  15. },
  16. "python.linting.pylintEnabled": true,
  17. "languageserver": {
  18. "ccls": {
  19. "command": "ccls",
  20. "filetypes": [
  21. "c",
  22. "cpp",
  23. "cuda",
  24. "objc",
  25. "objcpp"
  26. ],
  27. "rootPatterns": [
  28. ".ccls-root",
  29. "compile_commands.json"
  30. ],
  31. "initializationOptions": {
  32. "cache": {
  33. "directory": "/tmp/ccls-cache"
  34. },
  35. "client": {
  36. "snippetSupport": true
  37. }
  38. }
  39. }
  40. },
  41. //"codeLens.enable": true,
  42. //"java.referencesCodeLens.enabled": true,
  43. // "java.jdt.ls.vmargs": "-javaagent:/usr/local/share/lombok/lombok.jar",
  44. "snippets.userSnippetsDirectory": "~/.config/nvim/snips",
  45. "suggest.noselect": true,
  46. "java.format.settings.url": "/home/based/.config/coc/extensions/node_modules/redhat.java/eclipse-formatter.xml"
  47. }