馃珯 tiny scratch terminal for Neovim
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 21 lines 400 B view raw
1local jamjar = {} 2 3---@type table<string, jamjar.Terminal> 4jamjar._terminals = {} 5 6jamjar.make = function(name, opts) 7 return function() 8 local term = jamjar._terminals[name] 9 if not term then 10 term = require("jamjar.terminal"):new(opts) 11 vim.schedule(function() 12 jamjar._terminals[name] = term 13 end) 14 15 term:init() 16 end 17 term:toggle() 18 end 19end 20 21return jamjar