Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid filetypes are hard to discover #2410

Closed
harristom opened this issue Apr 21, 2022 · 3 comments
Closed

Valid filetypes are hard to discover #2410

harristom opened this issue Apr 21, 2022 · 3 comments

Comments

@harristom
Copy link

I opened a config file and wanted to set the filetype to get some syntax highlighting. I tried "set filetype sh" which didn't work, but "set filetype shell" did (I had expected that using a valid file extension would do it). I couldn't find a list of valid filetypes in the documentation, and tab completion didn't work on this command to provide a list of valid options in the way it does when setting a colorscheme.

@zyedidia
Copy link
Owner

This is a valid point, and perhaps we can introduce some tab completion for this case. For the time being, you can look through the syntax files at https://github.com/zyedidia/micro/tree/master/runtime/syntax. If you open a file, the filetype name should be listed at the top.

@dustdfg
Copy link
Contributor

dustdfg commented Mar 17, 2024

@dmaluka @JoeKar for close? because of #3090

@JoeKar
Copy link
Collaborator

JoeKar commented Mar 17, 2024

Closed with #3090.

@JoeKar JoeKar closed this as completed Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants