This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local fn = require("nui-components.utils.fn") | |
local n = require("nui-components") | |
vim.keymap.set("n", "<leader>fs", function() | |
local win_width = vim.api.nvim_win_get_width(0) | |
local win_height = vim.api.nvim_win_get_height(0) | |
local renderer = n.create_renderer({ | |
width = win_width, | |
height = win_height, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local n = require("nui-components") | |
local spinner_formats = require("nui-components.utils.spinner-formats") | |
local renderer = n.create_renderer({ | |
width = 100, | |
height = 24, | |
}) | |
local signal = n.create_signal({ | |
active_tab = "tab-1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msgpack: https://github.com/kieselsteini/msgpack |