is there a way to force a syntax mode in current buffer? #2549
Answered
by
zyedidia
braindevices
asked this question in
Q&A
-
I have some source code with unusually postfix. How can I force the format of the buffer? |
Beta Was this translation helpful? Give feedback.
Answered by
zyedidia
Sep 4, 2022
Replies: 1 comment
-
You can set the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
braindevices
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set the
filetype
option. Seehelp options
for an example of setting options based on the file extension: https://github.com/zyedidia/micro/blob/master/runtime/help/options.md#global-and-local-settings, so you would do something like"*.ext": { "filetype": "go" }
.