Skip to content

Solidity language support #857

@0xlynett

Description

@0xlynett

Hi, I'm a smart contract developer and I've recently switched to Fresh due to security concerns. I can't find out how to add Solidity syntax highlighting from the User Guide.

Here's my current config:

{
  "lsp": {
    "solidity": {
      "command": "~/.cargo/bin/aderyn",
      "args": ["--lsp", "--stdout"],
      "enabled": true
    }
  },
  "languages": {
    "solidity": {
      "extensions": ["sol"],
      "comment_prefix": "//",
      "auto_indent": true,
      "grammar": "Solidity"
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions