Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

[ISSUE-3] forcing hard tabs for make files - #8

Closed
parabuzzle wants to merge 1 commit into
atom:masterfrom
parabuzzle:force_hardtabs
Closed

parabuzzle wants to merge 1 commit into
atom:masterfrom
parabuzzle:force_hardtabs

Conversation

@parabuzzle

Copy link
Copy Markdown

A fix for #3

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is here because when you load a makefile directly without atom already running (ie: atom Makefile), the Makefile language isn't loaded before this code is run so the scope is set to a null-grammar.

In this case, I fall back to parsing the file type directly so that it will still work on that first load.

@probablycorey

Copy link
Copy Markdown

This is related to atom/atom#1723. The goal is to have a general solution for all grammars.

@x110dc

x110dc commented Jun 24, 2014

Copy link
Copy Markdown

+1

@parabuzzle parabuzzle changed the title 🐛 forcing hard tabs for make files [LANGUAGE-MAKE-3] forcing hard tabs for make files Sep 11, 2014
@parabuzzle parabuzzle changed the title [LANGUAGE-MAKE-3] forcing hard tabs for make files [ISSUE-3] forcing hard tabs for make files Sep 11, 2014
@kevinsawicki

Copy link
Copy Markdown
Contributor

This was fixed in core via atom/atom@7abfd45 and will be handled in the future by supporting a scoped setting so this can be opt-in for any grammar.

So I'm going to close out this PR, sorry for not providing timely updates and feedback.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants