fresh
fresh copied to clipboard
Custom language support
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