infocomplete: Complete filetypes (follow-up) by JoeKar · Pull Request #3218 · micro-editor/micro (original) (raw)

dmaluka added a commit to dmaluka/micro that referenced this pull request

Mar 26, 2024

@dmaluka

This typo causes a funny bug: the autodetected filetype for *.jsonnet files is an empty string instead of "jsonnet".

Even funnier, when autocompleting "set filetype " (with the fix from PR micro-editor#3218), the first suggested filetype is this empty string.

dmaluka

@JoeKar

The first shot of the feature unfortunately completed the *.yaml file names instead of the included filetypes. This will be corrected with this follow up.

@JoeKar @dmaluka

… hint

Co-authored-by: Dmytro Maluka dmitrymaluka@gmail.com

@JoeKar JoeKar deleted the fix/complete-filetype branch

March 27, 2024 17:58

dmaluka added a commit that referenced this pull request

Mar 28, 2024

@dmaluka

This typo causes a funny bug: the autodetected filetype for *.jsonnet files is an empty string instead of "jsonnet".

Even funnier, when autocompleting "set filetype " (with the fix from PR #3218), the first suggested filetype is this empty string.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})