Skip to content

borama/vscode-ruby-slim

Repository files navigation

Slim syntax highlighting for VS Code

The Slim Language extension brings Slim template language support to VS Code. It fixes most issues in previous Slim extensions, aims to support more modern features such as Tailwind CSS and is well tested.

Features

  • A more complete Tailwind CSS support, including:

  • Multiline attribute values:

  • Multiline attributes wrapping:

  • Multiline comments:

  • Multiline attribute ruby expressions (this requires a Ruby syntax extension such as Ruby LSP):

  • Embedded languages: Ruby, JavaScript, Markdown, ERB, CSS, CoffeeScript, Sass, Less:

  • More precise scopes for highlighting

  • Developer goodies:

    • Full tests coverage
    • Grammar in a human-friendly format (YAML instead of JSON)

Known Issues

Release Notes

See the Changelog.

Contributing

Please file an Issue or Pull Request on the GitHub repository.

See the wiki for some development hints.

Helpful links / Acknowledgements