defaults.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. return {
  2. leader = "space",
  3. colorscheme = "tokyonight",
  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. ---@usage filter func to select client
  11. filter = require("lvim.lsp.utils").format_filter,
  12. },
  13. keys = {},
  14. use_icons = true,
  15. builtin = {},
  16. plugins = {
  17. -- use config.lua for this not put here
  18. },
  19. autocommands = {},
  20. lang = {},
  21. log = {
  22. ---@usage can be { "trace", "debug", "info", "warn", "error", "fatal" },
  23. level = "warn",
  24. viewer = {
  25. ---@usage this will fallback on "less +F" if not found
  26. cmd = "lnav",
  27. layout_config = {
  28. ---@usage direction = 'vertical' | 'horizontal' | 'window' | 'float',
  29. direction = "horizontal",
  30. open_mapping = "",
  31. size = 40,
  32. float_opts = {},
  33. },
  34. },
  35. -- currently disabled due to instabilities
  36. override_notify = false,
  37. },
  38. }