Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

How add support for new language with language server #2751

Open
@PerMildner

Description

I want to make Oni use my language server for my language.

I tried to get Oni to use my language server. I added the following to config.tsx:

  "language.prolog.languageServer.command": "/usr/bin/nc",
  "language.prolog.languageServer.arguments": [
    "localhost",
    "56789"
  ],

(my language server is listening on port 56789 on the local machine).

When opening a file "foo.pl" the lower left corner of the windows says "prolog" so I assume Oni correctly identified the file as "prolog", but it does not seem that "nc" is run, so no connection is made to my language server.

I could not find any information on how to add a new "language identifier", so perhaps that is the problem.

I am new to Oni. I do not know what I am doing, I am just guessing how to configure Oni.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions