defaults.lua 971 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. return {
  2. leader = "space",
  3. colorscheme = "onedarker",
  4. transparent_window = false,
  5. format_on_save = {
  6. ---@usage pattern string pattern used for the autocommand (Default: '*')
  7. pattern = "*",
  8. ---@usage timeout number timeout in ms for the format request (Default: 1000)
  9. timeout = 1000,
  10. },
  11. keys = {},
  12. use_icons = true,
  13. builtin = {},
  14. plugins = {
  15. -- use config.lua for this not put here
  16. },
  17. autocommands = {},
  18. lang = {},
  19. log = {
  20. ---@usage can be { "trace", "debug", "info", "warn", "error", "fatal" },
  21. level = "warn",
  22. viewer = {
  23. ---@usage this will fallback on "less +F" if not found
  24. cmd = "lnav",
  25. layout_config = {
  26. ---@usage direction = 'vertical' | 'horizontal' | 'window' | 'float',
  27. direction = "horizontal",
  28. open_mapping = "",
  29. size = 40,
  30. float_opts = {},
  31. },
  32. },
  33. -- currently disabled due to instabilities
  34. override_notify = false,
  35. },
  36. }