mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-12 16:10:13 +08:00
add prettier fixer support for 'less' filetype
This commit is contained in:
1 parent
346c91fb6b
commit
e023e7a2fe
4 files changed
+18
-2
No files matched your search
@@ -49,7 +49,7 @@ function! ale#fixers#prettier#Fix(buffer) abort
|
||||
if match(l:options, '--parser') == -1
|
||||
if l:filetype is# 'typescript'
|
||||
let l:parser = 'typescript'
|
||||
elseif l:filetype =~# 'css\|scss'
|
||||
elseif l:filetype =~# 'css\|scss\|less'
|
||||
let l:parser = 'postcss'
|
||||
elseif l:filetype is# 'json'
|
||||
let l:parser = 'json'
|
||||
|
||||
Reference in new issue
Block a user