<commit_before>local M = {}

function M.config()
    require("noice").setup({
        routes = {
            {
                -- マクロ記録開始を表示する
                view = "notify",
                filter = { event = "msg_showmode" },
            },
            {
                -- 検索件数を非表示
                filter = {
                    event = "msg_show",
                    kind = "search_count",
                },
                opts = { skip = true },
            },
            {
                filter = {
                    event = "msg_show",
                    kind = "",
                    any = {
                        { find = "fewer lines" }, -- 複数行削除
                        { find = "more lines" }, -- 複数行追加
                        { find = "written" }, -- ファイル保存
                        { find = "yanked" }, -- コピー
                    },
                },
                opts = { skip = true },
            },
        },
    })
end

return M
<commit_msg>feat: Update Noice config.<commit_after>local M = {}

function M.config()
    require("noice").setup({
        routes = {
            {
                -- 20行以上の出力は split 画面で表示する
                view = "split",
                filter = { event = "msg_show", min_height = 20 },
            },
            {
                -- マクロ記録開始を表示する
                view = "notify",
                filter = { event = "msg_showmode" },
            },
            {
                -- 検索件数を非表示にする
                filter = {
                    event = "msg_show",
                    kind = "search_count",
                },
                opts = { skip = true },
            },
            {
                filter = {
                    event = "msg_show",
                    kind = "",
                    any = {
                        { find = "fewer lines" }, -- 複数行削除
                        { find = "more lines" }, -- 複数行追加
                        { find = "written" }, -- ファイル保存
                        { find = "yanked" }, -- コピー
                    },
                },
                opts = { skip = true },
            },
        },
    })
end

return M

{'fraction_non_alphanumeric': 0.11786716557530402, 'fraction_numerical': 0.0018709073900841909, 'mean_word_length': 0.67109375, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3419757', 'n_tokens_mistral': 617, 'n_tokens_neox': 589, 'n_words': 105}