Add syntax highlighting to CSV and TSV files by Alhadis · Pull Request #7738 · github-linguist/linguist · GitHub
Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .gitmodules
4 changes: 4 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,10 @@ vendor/grammars/language-debian:
- source.debian.makefile
vendor/grammars/language-dircolors:
- source.dircolors
vendor/grammars/language-dsv:
- source.csv
- source.dsv
- source.tsv
vendor/grammars/language-emacs-lisp:
- source.emacs.lisp
- source.yasnippet
Expand Down
4 changes: 2 additions & 2 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -991,7 +991,7 @@ CSV:
type: data
color: "#237346"
ace_mode: csv
tm_scope: none
tm_scope: source.csv
extensions:
- ".csv"
language_id: 51
Expand Down Expand Up @@ -7663,7 +7663,7 @@ TSV:
type: data
color: "#237346"
ace_mode: tsv
tm_scope: source.generic-db
tm_scope: source.tsv
extensions:
- ".tsv"
- ".vcf"
Expand Down
3 changes: 2 additions & 1 deletion vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **COLLADA:** [textmate/xml.tmbundle](https://github.com/textmate/xml.tmbundle)
- **CSON:** [atom/language-coffee-script](https://github.com/atom/language-coffee-script)
- **CSS:** [tree-sitter/tree-sitter-css](https://github.com/tree-sitter/tree-sitter-css) 🐌
- **CSV:** [Alhadis/language-dsv](https://github.com/Alhadis/language-dsv)
- **CUE:** [cue-sh/vscode-cue](https://github.com/cue-sh/vscode-cue)
- **Cabal Config:** [atom-haskell/language-haskell](https://github.com/atom-haskell/language-haskell)
- **Caddyfile:** [caddyserver/vscode-caddyfile](https://github.com/caddyserver/vscode-caddyfile)
Expand Down Expand Up @@ -614,7 +615,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **TLA:** [tlaplus-community/tree-sitter-tlaplus](https://github.com/tlaplus-community/tree-sitter-tlaplus) 🐌
- **TOML:** [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle)
- **TSQL:** [beau-witter/language-tsql](https://github.com/beau-witter/language-tsql)
- **TSV:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
- **TSV:** [Alhadis/language-dsv](https://github.com/Alhadis/language-dsv)
- **TSX:** [Microsoft/TypeScript-TmLanguage](https://github.com/Microsoft/TypeScript-TmLanguage)
- **TXL:** [MikeHoffert/Sublime-Text-TXL-syntax](https://github.com/MikeHoffert/Sublime-Text-TXL-syntax)
- **Tact:** [tact-lang/tact-sublime](https://github.com/tact-lang/tact-sublime)
Expand Down
1 change: 1 addition & 0 deletions vendor/grammars/language-dsv
Submodule language-dsv added at 06d46d
23 changes: 23 additions & 0 deletions vendor/licenses/git_submodule/language-dsv.dep.yml