defaults.lua 1.1 KB

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