config.json 970 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "additionalProperties": false,
  5. "properties": {
  6. "RIPGREP_BINARY": {
  7. "type": "string",
  8. "default": "rg",
  9. "description": "Path to ripgrep binary"
  10. },
  11. "RIPGREP_TIMEOUT": {
  12. "type": "integer",
  13. "default": 90,
  14. "minimum": 5,
  15. "x-fallback": "TIMEOUT",
  16. "x-aliases": ["SEARCH_BACKEND_TIMEOUT"],
  17. "description": "Search timeout in seconds"
  18. },
  19. "RIPGREP_ARGS": {
  20. "type": "array",
  21. "items": { "type": "string" },
  22. "default": ["--files-with-matches", "--no-messages", "--ignore-case"],
  23. "x-aliases": ["RIPGREP_DEFAULT_ARGS"],
  24. "description": "Default ripgrep arguments"
  25. },
  26. "RIPGREP_ARGS_EXTRA": {
  27. "type": "array",
  28. "items": { "type": "string" },
  29. "default": [],
  30. "x-aliases": ["RIPGREP_EXTRA_ARGS"],
  31. "description": "Extra arguments to append to ripgrep command"
  32. }
  33. }
  34. }