Coder Social home page Coder Social logo

metals-pkgbuild's People

Contributors

isomarcte avatar

Watchers

 avatar

metals-pkgbuild's Issues

metals-vim is using default system java

I get the following error in coc.nvim when opening a Scala file with nvim:

[coc.nvim] Unsupported Java version 11.0.1-testing, no functionality will work. To fix this problem, restart the server using Java 8.
[coc.nvim] Internal error.
[coc.nvim] Error output from languageserver.metals: Server initialization failed.
  Message: Internal error.
  Code: -32603

I am running Java 11 by default, but have Java 8 also installed under /usr/lib/jvm/java-8-openjdk/jre/bin/.

To reproduce, you'll have to have nvim installed and then also install vim-plug.

After then execute nvim -u metals.vim App.scala where metals.vim would contain:

call plug#begin('~/.local/share/nvim/plugged')
Plug 'neoclide/coc.nvim', {'do': { -> coc#util#install()}}
call plug#end()

Then type :messages to see the full error.

Provide Setup For Other Java 8 Providers

There are a bunch of Java 8 runtime provides in AUR. It would be nice if the metals-client.sh script provided support for selecting those over the openjdk setup.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.