Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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.

1 participant