Skip to content

Fixing settings not being applied when saving as a new file#3625

Merged
dmaluka merged 1 commit intomicro-editor:masterfrom
Neko-Box-Coder:FixNewBufferSettings
Jan 24, 2025
Merged

Fixing settings not being applied when saving as a new file#3625
dmaluka merged 1 commit intomicro-editor:masterfrom
Neko-Box-Coder:FixNewBufferSettings

Conversation

@Neko-Box-Coder
Copy link
Contributor

When you have file type-specific settings, it won't get applied when you are saving to a new file.

So if you have something like:

    "ft:c": {
        "colorcolumn": 50
    }

Creating a new buffer and saving to a c file won't apply the colorcolumn settings. This is just for demonstration. Opening an existing file will however apply the settings as intended.

This patch fixes that.

@dmaluka dmaluka merged commit 698511c into micro-editor:master Jan 24, 2025
6 checks passed
@Neko-Box-Coder Neko-Box-Coder deleted the FixNewBufferSettings branch January 24, 2025 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants