You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
ElectricRCAircraftGuy
changed the title
Bug: when manually running set filetype <type>, micro should reload appropriate settings from the config file for that type
Bug: when manually running set filetype <type>, micro should reload appropriate settings from the config file for that type, but it doesn't
Jan 26, 2023
I believe the reload command will force a reload of the settings file but maybe it should be automatically run specifically after changing the filetype.
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 tomarkdown
, 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 runset 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 inmicro
to get micro to apply the proper config settings when editing it.The text was updated successfully, but these errors were encountered: