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

Associate language-oracle files to SQL #134

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 28 additions & 27 deletions lib/tag-generator.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -25,33 +25,34 @@ class TagGenerator
return 'Cson' if path.extname(@path) in ['.cson', '.gyp']

switch @scopeName
when 'source.c' then 'C'
when 'source.cpp' then 'C++'
when 'source.clojure' then 'Lisp'
when 'source.capnp' then 'Capnp'
when 'source.coffee' then 'CoffeeScript'
when 'source.css' then 'Css'
when 'source.css.less' then 'Css'
when 'source.css.scss' then 'Css'
when 'source.elixir' then 'Elixir'
when 'source.fountain' then 'Fountain'
when 'source.gfm' then 'Markdown'
when 'source.go' then 'Go'
when 'source.java' then 'Java'
when 'source.js' then 'JavaScript'
when 'source.js.jsx' then 'JavaScript'
when 'source.jsx' then 'JavaScript'
when 'source.json' then 'Json'
when 'source.julia' then 'Julia'
when 'source.makefile' then 'Make'
when 'source.objc' then 'C'
when 'source.objcpp' then 'C++'
when 'source.python' then 'Python'
when 'source.ruby' then 'Ruby'
when 'source.sass' then 'Sass'
when 'source.yaml' then 'Yaml'
when 'text.html' then 'Html'
when 'text.html.php' then 'Php'
when 'source.c' then 'C'
when 'source.cpp' then 'C++'
when 'source.clojure' then 'Lisp'
when 'source.capnp' then 'Capnp'
when 'source.coffee' then 'CoffeeScript'
when 'source.css' then 'Css'
when 'source.css.less' then 'Css'
when 'source.css.scss' then 'Css'
when 'source.elixir' then 'Elixir'
when 'source.fountain' then 'Fountain'
when 'source.gfm' then 'Markdown'
when 'source.go' then 'Go'
when 'source.java' then 'Java'
when 'source.js' then 'JavaScript'
when 'source.js.jsx' then 'JavaScript'
when 'source.jsx' then 'JavaScript'
when 'source.json' then 'Json'
when 'source.julia' then 'Julia'
when 'source.makefile' then 'Make'
when 'source.objc' then 'C'
when 'source.objcpp' then 'C++'
when 'source.plsql.oracle' then 'Sql'
when 'source.python' then 'Python'
when 'source.ruby' then 'Ruby'
when 'source.sass' then 'Sass'
when 'source.yaml' then 'Yaml'
when 'text.html' then 'Html'
when 'text.html.php' then 'Php'

generate: ->
tags = {}
Expand Down