You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set filetype for REPL buffer will be helpful for being detected by iron and other plugins. For example, toggle REPL with IronRepl will cause an error at REPL buffer. Thus, I set it filetype to iron and check it like this:
ifvim.bo.filetype=="iron" thenvim.api.nvim_win_hide(0)
elseiron.repl_for(vim.bo.filetype)
end
Currently, I set filetype in repl_open_cmd. But I think it's an abusing, because it's designed to setup windows instead of buffer. It may be better to be specified when the REPL buffer is created.
The text was updated successfully, but these errors were encountered:
Set
filetype
for REPL buffer will be helpful for being detected by iron and other plugins. For example, toggle REPL withIronRepl
will cause an error at REPL buffer. Thus, I set itfiletype
toiron
and check it like this:Currently, I set
filetype
inrepl_open_cmd
. But I think it's an abusing, because it's designed to setup windows instead of buffer. It may be better to be specified when the REPL buffer is created.The text was updated successfully, but these errors were encountered: