metals: remove client specific wrappers
This commit is contained in:
parent
e84435878c
commit
f49a09b5a2
1 changed files with 0 additions and 15 deletions
|
@ -29,23 +29,8 @@ stdenv.mkDerivation rec {
|
|||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
# This variant is not targeted at any particular client, clients are
|
||||
# expected to declare their supported features in initialization options.
|
||||
makeWrapper ${jre}/bin/java $out/bin/metals \
|
||||
--add-flags "${extraJavaOpts} -cp $CLASSPATH scala.meta.metals.Main"
|
||||
|
||||
# Further variants targeted at clients with featuresets pre-set.
|
||||
makeWrapper ${jre}/bin/java $out/bin/metals-emacs \
|
||||
--add-flags "${extraJavaOpts} -Dmetals.client=emacs -cp $CLASSPATH scala.meta.metals.Main"
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/metals-vim \
|
||||
--add-flags "${extraJavaOpts} -Dmetals.client=coc.nvim -cp $CLASSPATH scala.meta.metals.Main"
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/metals-vim-lsc \
|
||||
--add-flags "${extraJavaOpts} -Dmetals.client=vim-lsc -cp $CLASSPATH scala.meta.metals.Main"
|
||||
|
||||
makeWrapper ${jre}/bin/java $out/bin/metals-sublime \
|
||||
--add-flags "${extraJavaOpts} -Dmetals.client=sublime -cp $CLASSPATH scala.meta.metals.Main"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue