Artificial intelligent assistant

How to enable syntax highlighting in ranger preview? I have seen some screenshots where ranger uses syntax-highlighting in its preview window. So I was wondering how to enable this feature and found out that I need the `scope.sh` file in the directory `/home/user/.config/ranger/scop.sh`, which will be generated with the command `$ ranger --copy-config=scope`. After generating it however the preview window completely disappears, although I inserted `set use_preview_script true` in `rc.config`. Q: Does someone know how to enable syntax-highlighting (especially for C/C++) in the ranger preview window?

$ sudo apt install highlight


then reopen `ranger`.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 75e44ee7a13ed0c40d30858b0dbfe660