amp
amp copied to clipboard
[FEATURE REQUEST] Specify language when writing new file (buffer)
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 :
- I press
B
- Somehow I specify that, for example, I'm about to write
java
file - Syntax highlighting takes place immediately
Thanks!
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.
Doesn't work for me unfortunately. Seems that should have been released with 0.6.0
, ! 65180add121fecf07a6b45480744b73bf40f8d1f