walles / moar

Moar is a pager. It's designed to just do the right thing without any configuration.
Other
587 stars 17 forks source link

moar doesn't recognize type of file without extension #96

Closed nkh closed 1 year ago

nkh commented 1 year ago

bash files don't get colorized if they don't have a sh extension, which bash files seldom have

I understand that you want to put together paging and colorizing but maybe those should be kept separate or at least controllable with some option

not really a problem for me, I use moar in a controlled fashion not as my main $PAGER.

walles commented 1 year ago

Not sure what the ask is here, could you give an example of what would make you consider this issue fixed? Content based file type guessing like file?

nkh commented 1 year ago

exactly that content base guessing via something like file

Note that won't use moar for that, I view those file in vim directly

walles commented 1 year ago

Note that won't use moar for that

I think I'll postpone this until there's a clearer ask.

If you think this is the wrong decision, feel free to reopen / question me here!