[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pluma's syntax highlighting



On 2020-01-12, Richard Owlett <rowlett@cloud85.net> wrote:
>
> I am NOT interested in adding any new features.
> What are the default rules for a file with extension 'sh'?
> TIA

As pluma is a gedit fork as well as a gtk application I suppose it gets
its syntax highlighting rules from here (on Stretch):

 /usr/share/gtksourceview-3.0/language-specs

where you'll find

 /usr/share/gtksourceview-3.0/language-specs/sh.lang

which would be the file containing the default rules for 'sh'.





-- 
"J'ai pour me guérir du jugement des autres toute la distance qui me sépare de
moi." Antonin Artaud



Reply to: