forked from luna/vim-rana-local
use new --language cli argument
This commit is contained in:
parent
2e427cbb3c
commit
25c4dedd66
1 changed files with 2 additions and 2 deletions
|
@ -136,10 +136,10 @@ let s:VERSION = '4.0.13'
|
||||||
let cmd = cmd + ['--write']
|
let cmd = cmd + ['--write']
|
||||||
endif
|
endif
|
||||||
if !empty(&syntax)
|
if !empty(&syntax)
|
||||||
let cmd = cmd + ['--alternate-language', &syntax]
|
let cmd = cmd + ['--language', &syntax]
|
||||||
else
|
else
|
||||||
if !empty(&filetype)
|
if !empty(&filetype)
|
||||||
let cmd = cmd + ['--alternate-language', &filetype]
|
let cmd = cmd + ['--language', &filetype]
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
"let cmd = cmd + ['--verbose']
|
"let cmd = cmd + ['--verbose']
|
||||||
|
|
Loading…
Reference in a new issue