Hey Milan. Have you already had a change to look at my "pull requests"? https://salsa.debian.org/calestyo-guest/less/-/tree/misc-improvements (Would love to see RPMs readable without having to install rpm. :-D)
And perhaps also at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988570 btw: http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html respectively https://github.com/wofr06/lesspipe might be an alternative which adds many nice features (e.g. syntax highlighting, actually checking the file type). I've filed RFP #1043249, should it get packaged, than maybe lesspipe could suggest/recommend it as an alternative. Thanks, Chris.