mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Rename extensions yml file
This commit is contained in:
@@ -122,7 +122,7 @@ module Linguist
|
|||||||
popular = YAML.load_file(File.expand_path("../popular.yml", __FILE__))
|
popular = YAML.load_file(File.expand_path("../popular.yml", __FILE__))
|
||||||
common = YAML.load_file(File.expand_path("../common.yml", __FILE__))
|
common = YAML.load_file(File.expand_path("../common.yml", __FILE__))
|
||||||
|
|
||||||
YAML.load_file(File.expand_path("../extensions.yml", __FILE__)).each do |name, options|
|
YAML.load_file(File.expand_path("../languages.yml", __FILE__)).each do |name, options|
|
||||||
Language.create(
|
Language.create(
|
||||||
:name => name,
|
:name => name,
|
||||||
:lexer_name => options[:lexer],
|
:lexer_name => options[:lexer],
|
||||||
|
|||||||
Reference in New Issue
Block a user