fix(deprecated): replacing deprecated code throughout project
rework: moved load_language_module to languages as it makes more sense
This commit is contained in:
@@ -87,7 +87,7 @@ function M.terminal(cmd)
|
||||
vim.api.nvim_set_option_value("cursorline", true, { win = win })
|
||||
vim.api.nvim_set_option_value("scrolloff", 5, { win = win })
|
||||
|
||||
vim.fn.termopen(table.concat(cmd, "/"))
|
||||
vim.fn.jobstart(table.concat(cmd, "/"), { term = true })
|
||||
vim.api.nvim_buf_set_keymap(buf, "n", "<ESC>", "i<C-\\><C-n>:q<CR>", { noremap = true, silent = true })
|
||||
return buf, win
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user