mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Fix livescript filetype, closes #666
This commit is contained in:
@@ -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')
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -994,7 +994,7 @@ filetypes:
|
||||
name: livescript
|
||||
remote: gkz/vim-ls
|
||||
filetypes:
|
||||
- name: livescript
|
||||
- name: ls
|
||||
linguist: LiveScript
|
||||
---
|
||||
name: llvm
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user