defaults.lua 950 B

1234567891011121314151617181920212223242526272829303132333435363738
  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. builtin = {},
  13. plugins = {
  14. -- use config.lua for this not put here
  15. },
  16. autocommands = {},
  17. lang = {},
  18. log = {
  19. ---@usage can be { "trace", "debug", "info", "warn", "error", "fatal" },
  20. level = "warn",
  21. viewer = {
  22. ---@usage this will fallback on "less +F" if not found
  23. cmd = "lnav",
  24. layout_config = {
  25. ---@usage direction = 'vertical' | 'horizontal' | 'window' | 'float',
  26. direction = "horizontal",
  27. open_mapping = "",
  28. size = 40,
  29. float_opts = {},
  30. },
  31. },
  32. -- currently disabled due to instabilities
  33. override_notify = false,
  34. },
  35. }