@@ -11,30 +11,30 @@ function! denops_shared_server#systemctl#install(options) abort
1111 \ ' port' : a: options .port,
1212 \ ' deno_args' : join (g: denops #server#deno_args, ' ' ),
1313 \} )
14- call denops #util#info (printf (' create the unit file `%s`' , s: unit_file ))
14+ call denops_shared_server #util#info (printf (' create the unit file `%s`' , s: unit_file ))
1515 call mkdir (fnamemodify (s: unit_file , ' :h' ), ' p' )
1616 call writefile (content, s: unit_file , ' b' )
1717
18- call denops #util#info (printf (' enable the unit `%s`' , s: name ))
18+ call denops_shared_server #util#info (printf (' enable the unit `%s`' , s: name ))
1919 echo system (printf (' systemctl --user enable %s.service' , s: name ))
2020
21- call denops #util#info (printf (' start the unit `%s`' , s: name ))
21+ call denops_shared_server #util#info (printf (' start the unit `%s`' , s: name ))
2222 echo system (printf (' systemctl --user start %s.service' , s: name ))
2323endfunction
2424
2525function ! denops_shared_server#systemctl#uninstall () abort
26- call denops #util#info (printf (' stop the unit `%s`' , s: name ))
26+ call denops_shared_server #util#info (printf (' stop the unit `%s`' , s: name ))
2727 echo system (printf (' systemctl --user stop %s.service' , s: name ))
2828
29- call denops #util#info (printf (' disable the unit `%s`' , s: name ))
29+ call denops_shared_server #util#info (printf (' disable the unit `%s`' , s: name ))
3030 echo system (printf (' systemctl --user disable %s.service' , s: name ))
3131
32- call denops #util#info (printf (' delete the unit file `%s`' , s: unit_file ))
32+ call denops_shared_server #util#info (printf (' delete the unit file `%s`' , s: unit_file ))
3333 call delete (s: unit_file )
3434
35- call denops #util#info (' daemon reload' )
35+ call denops_shared_server #util#info (' daemon reload' )
3636 echo system (' systemctl --user daemon-reload' )
3737
38- call denops #util#info (' reset failed' )
38+ call denops_shared_server #util#info (' reset failed' )
3939 echo system (' systemctl --user reset-failed' )
4040endfunction
0 commit comments