fresh icon indicating copy to clipboard operation
fresh copied to clipboard

Custom language support

Open jakoss opened this issue 3 weeks ago • 0 comments

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

jakoss avatar Dec 05 '25 09:12 jakoss