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