diff options
author | kylo252 <[email protected]> | 2021-08-09 19:02:37 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2021-08-09 19:02:37 +0200 |
commit | 405423108fc31981c40116a827e845a1179c9053 (patch) | |
tree | 41a7cb23536c982ccdc3402ab9d4602f2538eb40 /lua/default-config.lua | |
parent | 625df947dcacf3804f4ec7335478535ecd8219af (diff) |
feat: Add an async logger using plenary (#1207)
Co-authored-by: rebuilt <[email protected]>
Diffstat (limited to 'lua/default-config.lua')
-rw-r--r-- | lua/default-config.lua | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lua/default-config.lua b/lua/default-config.lua index ded120da..bba21206 100644 --- a/lua/default-config.lua +++ b/lua/default-config.lua @@ -34,6 +34,22 @@ lvim = { terminal = {}, }, + log = { + ---@usage can be { "trace", "debug", "info", "warn", "error", "fatal" }, + level = "warn", + viewer = { + ---@usage this will fallback on "less +F" if not found + cmd = "lnav", + layout_config = { + ---@usage direction = 'vertical' | 'horizontal' | 'window' | 'float', + direction = "horizontal", + open_mapping = "", + size = 40, + float_opts = {}, + }, + }, + }, + lsp = { completion = { item_kind = { @@ -95,7 +111,6 @@ lvim = { }, autocommands = {}, - debug = false, } local schemas = nil |