Okay, so I'm doing this: grep "foobar" . nvim -R and it works, but to get syntax…
- User
Okay, so I'm doing this:
grep "foobar" *.* | nvim -Rand it works, but to get syntax highlighting I have to run:set filetype=bashor choose some other filetype that might make thegrepresult easier to read. Is there a filetype that works pretty well no matter the text content that is found my grep? I want something general purpose. Any ideas or alternatives?Another idea is to use
batcatinstead, but Neovim is more powerful and comfortable for me to use since I know it better. Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.