Fzf.kak plugin how to config option for grep command

I want to config the grep command of fzf plugin, so it can exclude some directory like node_modules.
my settting like this:
set-option global fzf_grep_command 'grep -r --exclude-dir={node_modules, .git} ’
But it’s out nothing.
Can anyone tell me how to config it.

Hello and welcome, did you test that grep command outside kakoune? It seems weird to me

Thanks for your reply.
I change the option into:
set-option global fzf_grep_command “grep -rhn --exclude-dir=node_modules ’’ .”

and it can grep now. but when I hit or , just the the popup windows dispear,
but it can not open the grep result in a new buffer