Fix livescript filetype, closes #666

This commit is contained in:
Adam Stankiewicz
2021-06-09 12:01:20 +02:00
parent af4d6aa3cf
commit f678aad210
4 changed files with 4 additions and 4 deletions

View File

@@ -2215,7 +2215,7 @@ if !has_key(g:polyglot_is_disabled, 'llvm')
endif
if !has_key(g:polyglot_is_disabled, 'livescript')
au BufNewFile,BufRead *._ls,*.ls,Slakefile setf livescript
au BufNewFile,BufRead *._ls,*.ls,Slakefile setf ls
endif
if !has_key(g:polyglot_is_disabled, 'lilypond')

View File

@@ -298,7 +298,6 @@ let s:globs = {
\ 'litcoffee': '*.litcoffee,*.coffee.md',
\ 'lite': '*.lite,*.lt',
\ 'litestep': '',
\ 'livescript': '*.ls,*._ls,Slakefile',
\ 'llvm': '*.ll',
\ 'log': '*.log,*.LOG,*_log,*_LOG',
\ 'logcheck': '',
@@ -309,6 +308,7 @@ let s:globs = {
\ 'lout': '*.lou,*.lout',
\ 'lpc': '*.lpc,*.ulpc',
\ 'lprolog': '*.sig',
\ 'ls': '*.ls,*._ls,Slakefile',
\ 'lsl': '*.lsl',
\ 'lss': '*.lss',
\ 'lua': '*.lua,*.fcgi,*.nse,*.p8,*.pd_lua,*.rbxs,*.rockspec,*.wlua,.luacheckrc',

View File

@@ -994,7 +994,7 @@ filetypes:
name: livescript
remote: gkz/vim-ls
filetypes:
- name: livescript
- name: ls
linguist: LiveScript
---
name: llvm

View File

@@ -139,7 +139,7 @@ call TestFiletype('kotlin')
call TestFiletype('ledger')
call TestFiletype('less')
call TestFiletype('lilypond')
call TestFiletype('livescript')
call TestFiletype('ls')
call TestFiletype('llvm')
call TestFiletype('tablegen')
call TestFiletype('log')