fix: only display configured platforms in pickers

This commit is contained in:
Barrett Ruth 2025-09-24 19:47:00 -04:00
parent 177c172205
commit d862df9104
4 changed files with 21 additions and 32 deletions

View file

@ -136,7 +136,7 @@ function M.setup_problem(contest_id, problem_id, language)
local source_file = state.get_source_file(language)
if not source_file then
error('Failed to generate source file path')
return
end
vim.cmd.e(source_file)
local source_buf = vim.api.nvim_get_current_buf()