Deduplicate polyglot files

This commit is contained in:
Adam Stankiewicz
2020-09-29 23:36:28 +02:00
parent 543e8c917b
commit c1aac2e279
6 changed files with 34 additions and 388 deletions

View File

@@ -1,3 +1,5 @@
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
func! polyglot#detect#Inp()
let line = getline(nextnonblank(1))
if line =~# '^\*'

View File

@@ -1,5 +1,3 @@
" Please do not edit this file directly, instead modify polyglot.vim or scripts/build
func! polyglot#shebang#Detect()
let ft = s:Filetype()
if ft != ""
@@ -54,7 +52,7 @@ func! s:Filetype()
endfor
endfunc
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
let s:interpreters = {
\ 'osascript': 'applescript',
@@ -126,4 +124,4 @@ let s:interpreters = {
\ 'z3': 'smt2',
\ 'deno': 'typescript',
\ 'ts-node': 'typescript',
\ }
\ }

View File

@@ -1,3 +1,5 @@
" DO NOT EDIT CODE BELOW, IT IS GENERATED WITH MAKEFILE
let s:globs = {
\ '8th': '*.8th',
\ 'Dockerfile': '*.dockerfile,*.dock,*.Dockerfile,Dockerfile,dockerfile,Dockerfile*',