Skip to content

Custom language support #237

@jakoss

Description

@jakoss

Hello,
I'm trying to add support for C# language using this configuration:

{
  "languages": {
    "c_sharp": {
      "extensions": ["cs", "csx"],
      "grammar": "c_sharp",
      "comment_prefix": "//"
    }
  },
  "lsp": {
    "c_sharp": {
      "command": "csharp-ls",
      "enabled": true,
      "args": []
    }
  }
}

When i load fresh with this configuration i have no errors, but i still don't have any syntax highlighting and the lsp is not detected ("No LSP server configured for this file type"). Am i doing something wrong here? I see that you have dependency on the c_sharp treesitter grammar in your crate file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions