How are you registering that lexer? I don’t see how Review Board would know about it if it’s just in its own standalone package.
Christian On Wed, Jun 20, 2018 at 16:48 manoj m <[email protected]> wrote: > 1. I'm trying to install a pygments file for a custom file type > 2. Its installed under > /usr/lib/python2.7/site-pacakges/customPygment/__init__.py with following > content: > > class customLexer( CppLexer ): > > name = "custom files" > > aliases = [ "custom" ] > > filenames = [ '*.custom' ] > > That's all nothing fancy. > > In reviewboard any *.custom file is getting treated as python file not > sure why. > > On Wednesday, 20 June 2018 12:23:18 UTC-7, Christian Hammond wrote: > >> Hi, >> >> I’ll need to know more about what you’re trying to do and what changes >> you’ve made, and how you’ve installed the custom one. Can you provide more >> detail about this? >> >> Christian >> >> On Wed, Jun 20, 2018 at 11:28 manoj m <[email protected]> wrote: >> > Any pointers on debugging this would help :) >>> >>> >>> On Friday, 8 June 2018 16:55:29 UTC-7, manoj m wrote: >>>> >>>> Hello, >>>> >>>> I’m running reviewboard 2.5.9 with a custom pygment installed. >>>> >>>> Following command produce correct syntax highlighted html output but >>>> same file in Reviewboard fails to highlight properly >>>> >>>> http://pygments.org/docs/quickstart/ >>>> >>>> pygmentize -f html -O full -o test.html test.custom >>>> >>>> Is there something extra that needs to be done on reviewboard side? >>>> >>>> Thanks! >>>> >>>> >>> -- >>> Supercharge your Review Board with Power Pack: >>> https://www.reviewboard.org/powerpack/ >>> Want us to host Review Board for you? Check out RBCommons: >>> https://rbcommons.com/ >>> Happy user? Let us know! https://www.reviewboard.org/users/ >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Review Board Community" group. >>> >> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >> >> >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> -- >> Christian Hammond >> President/CEO of Beanbag >> Makers of Review Board >> > -- > Supercharge your Review Board with Power Pack: > https://www.reviewboard.org/powerpack/ > Want us to host Review Board for you? Check out RBCommons: > https://rbcommons.com/ > Happy user? Let us know! https://www.reviewboard.org/users/ > --- > You received this message because you are subscribed to the Google Groups > "Review Board Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- Christian Hammond President/CEO of Beanbag Makers of Review Board -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
