summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2021-06-09 12:01:20 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2021-06-09 12:01:20 +0200
commitf678aad2100068b1310ada35e3eeedddceea59e2 (patch)
tree1e3f3a91eb2ba50befb31c71e0d94c2a86296461 /autoload
parentaf4d6aa3cf5eab6cf555cbb067f8316cca7975bf (diff)
downloadvim-polyglot-f678aad2100068b1310ada35e3eeedddceea59e2.tar.gz
vim-polyglot-f678aad2100068b1310ada35e3eeedddceea59e2.zip
Fix livescript filetype, closes #666
Diffstat (limited to 'autoload')
-rw-r--r--autoload/polyglot/init.vim2
-rw-r--r--autoload/polyglot/sleuth.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/polyglot/init.vim b/autoload/polyglot/init.vim
index 6c2e9b87..e463f3ac 100644
--- a/autoload/polyglot/init.vim
+++ b/autoload/polyglot/init.vim
@@ -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')
diff --git a/autoload/polyglot/sleuth.vim b/autoload/polyglot/sleuth.vim
index 66c78e1c..e134370d 100644
--- a/autoload/polyglot/sleuth.vim
+++ b/autoload/polyglot/sleuth.vim
@@ -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',