mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 11:05:08 +02:00
d01ba08eae
Refactor the monolithic `lvim.lang` design into a more modular approach. IMPORTANT: run `:LvimUpdate` in order to generate the new ftplugin template files.
37 lines
951 B
Lua
37 lines
951 B
Lua
local home_dir = vim.loop.os_homedir()
|
|
local utils = require "utils"
|
|
|
|
lvim = {
|
|
leader = "space",
|
|
colorscheme = "onedarker",
|
|
line_wrap_cursor_movement = true,
|
|
transparent_window = false,
|
|
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 = {},
|
|
|
|
builtin = {},
|
|
|
|
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
|
|
},
|
|
|
|
autocommands = {},
|
|
lang = {},
|
|
}
|