Skip to content

is there a way to force a syntax mode in current buffer? #2549

Answered by zyedidia
braindevices asked this question in Q&A
Discussion options

You must be logged in to vote

You can set the filetype option. See help 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" }.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by braindevices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants