On October 30, 2023 10:04:04 PM GMT-04:00, Lex Trotman via Users 
<users@lists.geany.org> wrote:
>On Tue, 31 Oct 2023 at 11:42, H via Users <users@lists.geany.org>
>wrote:
>>
>> Running geany 1.37. I wanted to make some changes when editing *.yml
>files so that indents are always two spaces rather than my customary a
>tab stop of four characters.
>>
>> I modified the filetypes.yaml file as follows (according to
>filetype_extensions.conf, *.yaml and *.yml files are treated the same):
>>
>> [indentation]
>> #width=4
>> # 0 is spaces, 1 is tabs, 2 is tab & spaces
>> #type=1
>> #    *.yml 2023-10-30
>> width=2
>> type=0
>>
>> After clicking on "Reload Configuration" I expected the above changes
>to be effective, alas, they are not. Indenting a line in a *.yml file
>still results in a tab stop of four characters.
>>
>> Have I missed something to make the changes becoming effective?
>
>Nope, (assuming that you don't have a project open since that
>overrides the filetype), but as the indents width and type can be set
>per document they are not changed for open documents, or the user
>setting would be lost.  So close and re-open the documents you want to
>get the new values.
>
>Cheers
>Lex
>
>>
>> _______________________________________________
>> Users mailing list -- users@lists.geany.org
>> To unsubscribe send an email to users-le...@lists.geany.org
>_______________________________________________
>Users mailing list -- users@lists.geany.org
>To unsubscribe send an email to users-le...@lists.geany.org

Thank you, that worked.
_______________________________________________
Users mailing list -- users@lists.geany.org
To unsubscribe send an email to users-le...@lists.geany.org

Reply via email to