[Geany-Users] adding json support

Matthew Brush mbrush at xxxxx
Sun Feb 24 04:43:33 UTC 2013


On 13-02-23 06:54 PM, Bob Furber wrote:
> On 13-02-23 06:38 PM, Matthew Brush wrote:
>>> I cannot see any YAML styles in filetypes.JSON.conf:
>>>
>>>      [styling=C]
>>
>> Start Deleting lines here...
>>
>>> default=default
>>>      number=number
>>>      string=string
>>>      word=word
>>>      identifier=identifier,bold
>>>
>>
>> ... And Stop deleting lines here
>>
>> That is what I meant.
>
> No change even after restarting my PC: Names are bold black, values are
> normal black, numbers are green ..and filetypes.JSON.conf looks like this:


I tried to re-create the filetypes.JSON.conf file from scratch, it works 
fine (at least for syntax highlighting) using this:


> [styling=C]
>
> [keywords]
> primary=true false null
>
> [settings]
> extension=js
> lexer_filetype=Javascript
> comment_single=#
> comment_use_indent=true
>
> [indentation]
> width=2
> type=1
>

Hope it helps.

Cheers,
Matthew Brush


More information about the Users mailing list