いくつか方法があり状況によってどれを使うか違うかも...? ## echoを使う ``` :echo g.hogehoge ``` ## printを使う ``` :lua print(vim.opt.hlsearch:get()) ```