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
|
endif
|
||||||
|
|
||||||
if !has_key(g:polyglot_is_disabled, 'livescript')
|
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
|
endif
|
||||||
|
|
||||||
if !has_key(g:polyglot_is_disabled, 'lilypond')
|
if !has_key(g:polyglot_is_disabled, 'lilypond')
|
||||||
|
|||||||
@@ -298,7 +298,6 @@ let s:globs = {
|
|||||||
\ 'litcoffee': '*.litcoffee,*.coffee.md',
|
\ 'litcoffee': '*.litcoffee,*.coffee.md',
|
||||||
\ 'lite': '*.lite,*.lt',
|
\ 'lite': '*.lite,*.lt',
|
||||||
\ 'litestep': '',
|
\ 'litestep': '',
|
||||||
\ 'livescript': '*.ls,*._ls,Slakefile',
|
|
||||||
\ 'llvm': '*.ll',
|
\ 'llvm': '*.ll',
|
||||||
\ 'log': '*.log,*.LOG,*_log,*_LOG',
|
\ 'log': '*.log,*.LOG,*_log,*_LOG',
|
||||||
\ 'logcheck': '',
|
\ 'logcheck': '',
|
||||||
@@ -309,6 +308,7 @@ let s:globs = {
|
|||||||
\ 'lout': '*.lou,*.lout',
|
\ 'lout': '*.lou,*.lout',
|
||||||
\ 'lpc': '*.lpc,*.ulpc',
|
\ 'lpc': '*.lpc,*.ulpc',
|
||||||
\ 'lprolog': '*.sig',
|
\ 'lprolog': '*.sig',
|
||||||
|
\ 'ls': '*.ls,*._ls,Slakefile',
|
||||||
\ 'lsl': '*.lsl',
|
\ 'lsl': '*.lsl',
|
||||||
\ 'lss': '*.lss',
|
\ 'lss': '*.lss',
|
||||||
\ 'lua': '*.lua,*.fcgi,*.nse,*.p8,*.pd_lua,*.rbxs,*.rockspec,*.wlua,.luacheckrc',
|
\ 'lua': '*.lua,*.fcgi,*.nse,*.p8,*.pd_lua,*.rbxs,*.rockspec,*.wlua,.luacheckrc',
|
||||||
|
|||||||
@@ -994,7 +994,7 @@ filetypes:
|
|||||||
name: livescript
|
name: livescript
|
||||||
remote: gkz/vim-ls
|
remote: gkz/vim-ls
|
||||||
filetypes:
|
filetypes:
|
||||||
- name: livescript
|
- name: ls
|
||||||
linguist: LiveScript
|
linguist: LiveScript
|
||||||
---
|
---
|
||||||
name: llvm
|
name: llvm
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ call TestFiletype('kotlin')
|
|||||||
call TestFiletype('ledger')
|
call TestFiletype('ledger')
|
||||||
call TestFiletype('less')
|
call TestFiletype('less')
|
||||||
call TestFiletype('lilypond')
|
call TestFiletype('lilypond')
|
||||||
call TestFiletype('livescript')
|
call TestFiletype('ls')
|
||||||
call TestFiletype('llvm')
|
call TestFiletype('llvm')
|
||||||
call TestFiletype('tablegen')
|
call TestFiletype('tablegen')
|
||||||
call TestFiletype('log')
|
call TestFiletype('log')
|
||||||
|
|||||||
Reference in New Issue
Block a user