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

[FEATURE REQUEST] Specify language when writing new file (buffer) #163

Open
dodalovic opened this issue Sep 22, 2019 · 2 comments
Open

[FEATURE REQUEST] Specify language when writing new file (buffer) #163

dodalovic opened this issue Sep 22, 2019 · 2 comments

Comments

@dodalovic
Copy link

Hi, thanks for you lovely editor!
I'm not sure if there's an option to specify file type (highlighting) when writing new file (buffer, pressing B key)

Would like to use this editor when I show some code snippets I'm about to write, but without going to the IDE. Would be nice if :

  1. I press B
  2. Somehow I specify that, for example, I'm about to write java file
  3. Syntax highlighting takes place immediately

Thanks!

@pbgc
Copy link

pbgc commented Sep 22, 2019

This is already implemented: https://amp.rs/docs/configuration/#manually-picking-a-definition

Don't know if you need to use the version in master (that's what i'm using) or if was already released.

@dodalovic
Copy link
Author

dodalovic commented Sep 22, 2019

Doesn't work for me unfortunately. Seems that should have been released with 0.6.0, ! 65180ad

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

2 participants