Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Add mapping for stylus mode in LanguageManager, fixes #13378 (#13380)
Browse files Browse the repository at this point in the history
  • Loading branch information
opl- authored and swmitra committed Sep 12, 2017
1 parent 1b37881 commit 8fafdf0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/language/LanguageManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1161,6 +1161,10 @@ define(function (require, exports, module) {
var scss = getLanguage("scss");
scss._setLanguageForMode("css", scss);

// Map stylus mode to the stylus Brackets language, fixes #13378
var stylus = getLanguage("stylus");
_setLanguageForMode("stylus", stylus);

// The fallback language for unknown modes and file extensions
_fallbackLanguage = getLanguage("unknown");

Expand Down

0 comments on commit 8fafdf0

Please sign in to comment.