Something went wrong. Try again.
Neovim Statusline
Something went wrong. Try again.
123456789101112131415161718local source = debug.getinfo(1, "S").source:sub(2)local root = vim.fn.fnamemodify(source, ":p:h:h")vim.opt.runtimepath:prepend(root)
-- Both sides install the same dependency stub and runtime path. The plugin-- side differs only by loading and setting up statusline.nvim.package.preload["nvim-web-devicons"] = function() return { get_icon_by_filetype = function() return "", "StatuslineBenchmarkDevicon" end, }end
if vim.env.STATUSLINE_BENCH_LOAD_PLUGIN == "1" then require("statusline").setup()end