dap-repl.lua (317B)
1 if not pcall(require, 'terminal') then 2 return 3 end 4 5 local set = vim.opt_local 6 set.conceallevel = 2 7 set.concealcursor = 'nc' 8 set.wrap = false 9 10 local terminal = require('terminal') 11 local rgb_color_table = terminal.initialize_terminal_colors() 12 terminal.attach_to_buffer(vim.api.nvim_get_current_buf(), rgb_color_table)