[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should yaml-ts-mode inherit from prog-mode?
From: |
Daniel Fleischer |
Subject: |
Re: Should yaml-ts-mode inherit from prog-mode? |
Date: |
Sun, 12 Mar 2023 11:20:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Ongaro [2023-03-11 Sat 18:14] wrote:
> If something is considered a "programming language" isn't defined by
> whether it has keywords. But we can ignore that, since yaml has quite a
> few keywords (e.g. see yaml-font-lock-keywords or others which are not...
If we look at font lock definitions, org-mode also highlights various
constructs; it doesn't mean it's a programming language.
> Also not true. If you happen to use some of the keywords like "yes", you
> have to mind to quote it if you actually meant the string "yes" not a
> boolean value of true. Of course that is exactly where having a mode
> which highlights these keywords helps.
Please point out where in the YAML spec "yes" is used as a boolean. And
again, usefulness of highlighting different objects does not mean it's a
programming language.
--
Daniel
- Re: Should yaml-ts-mode inherit from prog-mode?, (continued)
- Re: Should yaml-ts-mode inherit from prog-mode?, Jostein Kjønigsen, 2023/03/21
- Re: Should yaml-ts-mode inherit from prog-mode?, Eli Zaretskii, 2023/03/21
- Re: Should yaml-ts-mode inherit from prog-mode?, Rudolf Schlatte, 2023/03/21
- Re: Should yaml-ts-mode inherit from prog-mode?, Yuri Khan, 2023/03/21
- Re: Should yaml-ts-mode inherit from prog-mode?, Rudolf Schlatte, 2023/03/21
- Re: Should yaml-ts-mode inherit from prog-mode?, Yuri Khan, 2023/03/22
- Re: Should yaml-ts-mode inherit from prog-mode?, David Ongaro, 2023/03/21
- Re: Should yaml-ts-mode inherit from prog-mode?, Randy Taylor, 2023/03/20
Re: Re: Should yaml-ts-mode inherit from prog-mode?, Pedro Andres Aranda Gutierrez, 2023/03/05
Re: Should yaml-ts-mode inherit from prog-mode?, Ongaro, 2023/03/11
- Re: Should yaml-ts-mode inherit from prog-mode?,
Daniel Fleischer <=
Re: Re: Should yaml-ts-mode inherit from prog-mode?, Pedro Andres Aranda Gutierrez, 2023/03/21