We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b6196 commit 3e3fd33Copy full SHA for 3e3fd33
lua/iron/core.lua
@@ -3,6 +3,14 @@ local nvim = vim.api
3
local fts = require('iron.fts')
4
local core = {}
5
6
+local get_from_memory = function(config, memory, ft)
7
+ return config.memory_management.get(memory, ft)
8
+end
9
+
10
+local set_on_memory = function(config, memory, ft, fn)
11
+ return config.memory_management.set(memory, ft, fn)
12
13
14
core.get_preferred_repl = function(config, ft)
15
local repl = fts[ft]
16
local repl_def = config.preferred[ft]
0 commit comments