mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 10:35:08 +02:00
254ab2102b
* feat: add lunarvim latest release tag to dashboard * Add a function to center-align text Rename align to align_left Rename shift_left to shift_right * refactor(dashboard): remove unnecessary comment * refactor(dashboard): use `home_dir` variable for `lv_path` * refactor(dashboard): use $LUNARVIM_RUNTIME_DIR for lv_path * feat(bootstrap): add fn that returns lvim version * refactor(dashboard): use version, lunarvim dir with bootstrap fns * build: add global get_version() from bootstrap Co-authored-by: Luc Sinet <luc.sinet@gmail.com>
42 lines
795 B
Lua
42 lines
795 B
Lua
-- vim: ft=lua tw=80
|
|
|
|
stds.nvim = {
|
|
globals = {
|
|
"lvim",
|
|
vim = { fields = { "g" } },
|
|
"TERMINAL",
|
|
"USER",
|
|
"C",
|
|
"Config",
|
|
"WORKSPACE_PATH",
|
|
"JAVA_LS_EXECUTABLE",
|
|
"MUtils",
|
|
"USER_CONFIG_PATH",
|
|
os = { fields = { "capture" } },
|
|
},
|
|
read_globals = {
|
|
"jit",
|
|
"os",
|
|
"vim",
|
|
"join_paths",
|
|
"get_runtime_dir",
|
|
"get_config_dir",
|
|
"get_cache_dir",
|
|
"get_version",
|
|
-- vim = { fields = { "cmd", "api", "fn", "o" } },
|
|
},
|
|
}
|
|
std = "lua51+nvim"
|
|
|
|
files["tests/*_spec.lua"].std = "lua51+nvim+busted"
|
|
|
|
-- Don't report unused self arguments of methods.
|
|
self = false
|
|
|
|
-- Rerun tests only if their modification time changed.
|
|
cache = true
|
|
|
|
ignore = {
|
|
"631", -- max_line_length
|
|
"212/_.*", -- unused argument, for vars with "_" prefix
|
|
}
|