Giter Site home page Giter Site logo

farcolorer-rust's Introduction

farcolorer-rust

Important: this schema has now found its permanent place in the official Colorer repo, please open pull requests there: https://github.com/colorer/Colorer-schemes/blob/master/hrc/hrc/base/rust.hrc

Rust syntax schema for FarColorer plugin.

This schema is far from complete (but so is the documented Rust 1.0.0-beta.2 grammar specification). Nevertheless this schema already works better than what FarColorer picks by default, which is C++ syntax, I believe. This schema highlights the right keywords and doesn't freak out from single apostrophe inside angle brackets ("lifetime parameter"?).

To install into your Far, copy proto.hrc and types\rust.hrc into Plugins\FarColorer\base\hrc\auto under your Far Manager directory.

To update plugin settings in Far, open some file for editing, press F11 > "FarColorer" > "Reload schema library".

Pull requests are welcome. If you see broken highlighting, feel free to open an issue with sample code.

I'll contact FarColorer maintainers to push the schema to the official repo in future.

Blog post: http://yacoder.net/blog/2015/04/29/rust-syntax-highlighter-for-far-colorer/

Before

before

After

after

farcolorer-rust's People

Contributors

yacoder avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.