Description of the problem or steps to reproduce
Use this config file:
~/.config/micro/settings.json:
Notice how it has custom settings for *.md files.
Now, run micro to edit a new file. Set syntax highlighting to markdown, with Ctrl + E then cmd: set filetype markdown. Now, since the config file above says to have softwrap on, it should. But, it doesn't. That's the bug. It should reload the config settings for the *.md filetype once I run set filetype markdown, but it doesn't. You can paste a bunch of text and it won't wrap.
Specifications
Commit hash: 225927b
OS: Linux Ubuntu 22.04
Terminal: terminator 2.1.1
Work-around
Save the open file as a .md markdown file. Close and re-open it in micro to get micro to apply the proper config settings when editing it.
{ "*.md": { "softwrap": true }, "colorcolumn": 80, "colorscheme": "monokai", "savecursor": true, "scrollbar": true, "scrollspeed": 5, "wordwrap": true }