We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbe3057 commit ae8bd7aCopy full SHA for ae8bd7a
autoload/codefmt/juliaformatter.vim
@@ -21,7 +21,7 @@ let s:checkedInstall = 0
21
" Formatter: JuliaFormatter
22
function! codefmt#juliaformatter#GetFormatter() abort
23
let l:installer =
24
- \ maktaba#path#Join([expand('<sfile>:p:h:h'), 'bin', 'julia', 'install'])
+ \ maktaba#path#Join([s:plugin.location, 'bin', 'julia', 'install'])
25
let l:formatter = {
26
\ 'name': 'JuliaFormatter', 'setup_instructions': 'Run ' . l:installer}
27
@@ -59,7 +59,8 @@ function! codefmt#juliaformatter#GetFormatter() abort
59
endfor
60
let l:exec = s:plugin.Flag('julia_format_executable')
61
if empty(l:exec)
62
- let l:cmd = [expand('<sfile>:h:h/bin/formatjulia.jl')]
+ let l:cmd = [maktaba#path#Join(
63
+ \ [s:plugin.location, 'bin', 'julia', 'formatjulia.jl'])]
64
else
65
" Split the command on spaces, unless preceeded by a backslash
66
let l:cmd = split(l:exec, '\\\@<! ')
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments