nvim/lua/chadrc.lua
Mira Kristipati cddbfdc5e9 grapple stuff
2024-05-24 09:21:46 -04:00

31 lines
772 B
Lua

---@type ChadrcConfig
local M = {}
-- Path to overriding theme and highlights files
local highlights = require "highlights"
M.ui = {
theme = "lunar_witch",
hl_override = highlights.override,
hl_add = highlights.add,
statusline = {
order = { "mode", "file", "git", "%=", "lsp_msg", "%=", "diagnostics", "lsp", "cwd", "cursor", "grapple" },
modules = {
cursor = function()
return "%#St_pos_sep#" .. "" .. "%#St_pos_icon# %#St_pos_text# [%l,%c]"
end,
grapple = "%#St_cwd_sep#"
.. ""
.. "%#St_cwd_icon#"
.. "󰛢 "
.. "%#St_cwd_text#"
.. require("grapple").statusline {
include_icon = false,
inactive = " %s",
},
},
},
}
return M