Skip to content

Commit f678aad

Browse files
committed
Fix livescript filetype, closes #666
1 parent af4d6aa commit f678aad

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

autoload/polyglot/init.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2215,7 +2215,7 @@ if !has_key(g:polyglot_is_disabled, 'llvm')
22152215
endif
22162216

22172217
if !has_key(g:polyglot_is_disabled, 'livescript')
2218-
au BufNewFile,BufRead *._ls,*.ls,Slakefile setf livescript
2218+
au BufNewFile,BufRead *._ls,*.ls,Slakefile setf ls
22192219
endif
22202220

22212221
if !has_key(g:polyglot_is_disabled, 'lilypond')

autoload/polyglot/sleuth.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ let s:globs = {
298298
\ 'litcoffee': '*.litcoffee,*.coffee.md',
299299
\ 'lite': '*.lite,*.lt',
300300
\ 'litestep': '',
301-
\ 'livescript': '*.ls,*._ls,Slakefile',
302301
\ 'llvm': '*.ll',
303302
\ 'log': '*.log,*.LOG,*_log,*_LOG',
304303
\ 'logcheck': '',
@@ -309,6 +308,7 @@ let s:globs = {
309308
\ 'lout': '*.lou,*.lout',
310309
\ 'lpc': '*.lpc,*.ulpc',
311310
\ 'lprolog': '*.sig',
311+
\ 'ls': '*.ls,*._ls,Slakefile',
312312
\ 'lsl': '*.lsl',
313313
\ 'lss': '*.lss',
314314
\ 'lua': '*.lua,*.fcgi,*.nse,*.p8,*.pd_lua,*.rbxs,*.rockspec,*.wlua,.luacheckrc',

packages.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ filetypes:
994994
name: livescript
995995
remote: gkz/vim-ls
996996
filetypes:
997-
- name: livescript
997+
- name: ls
998998
linguist: LiveScript
999999
---
10001000
name: llvm

tests/filetypes.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ call TestFiletype('kotlin')
139139
call TestFiletype('ledger')
140140
call TestFiletype('less')
141141
call TestFiletype('lilypond')
142-
call TestFiletype('livescript')
142+
call TestFiletype('ls')
143143
call TestFiletype('llvm')
144144
call TestFiletype('tablegen')
145145
call TestFiletype('log')

0 commit comments

Comments
 (0)