LunarVim.LunarVim/lua/config/defaults.lua

38 lines
951 B
Lua
Raw Normal View History

local home_dir = vim.loop.os_homedir()
local utils = require "utils"
2021-06-28 00:36:29 -04:00
lvim = {
leader = "space",
2021-08-30 00:59:23 -04:00
colorscheme = "onedarker",
line_wrap_cursor_movement = true,
2021-07-04 22:14:01 -03:00
transparent_window = false,
2021-07-10 02:38:25 -04:00
format_on_save = true,
vsnip_dir = utils.join_paths(home_dir, ".config", "snippets"),
database = { save_location = utils.join_paths(home_dir, ".config", "lunarvim_db"), auto_execute = 1 },
keys = {},
2021-06-28 00:36:29 -04:00
builtin = {},
2021-07-10 03:19:32 -04:00
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 = {},
},
},
},
plugins = {
-- use config.lua for this not put here
},
2021-07-25 16:27:48 +04:30
autocommands = {},
lang = {},
2021-07-05 22:57:00 -04:00
}