defaults.lua 1.1 KB

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