Giter Site home page Giter Site logo

neurotok / ta-rust Goto Github PK

View Code? Open in Web Editor NEW

This project forked from abaez/ta-rust

0.0 0.0 0.0 2.73 MB

A mirror for the textadept module ta-rust hosted in bitbucket

Home Page: https://bitbucket.org/a_baez/ta-rust

License: MIT License

Lua 100.00%

ta-rust's Introduction

ta-rust

license twitter

A Rust module and lexer for Textadept.

DESCRIPTION

A module/lexer for Rust.

Currently, this module holds all keywords, types, and any other standard lexer definitions described by the Rust reference manual. It also encompasses the vast list of snippets I use when coding, ctags for semi auto-complete on user projects, api references with both self engineered endeavor and racer integration, and simple lint support with rustfmt.

Completed:

  • lexer: All keywords, primitive types, lifetime, library types, syntax extensions, strings, and numbers lexer definitions.
  • module: *.rs, a humble list of snippets, and API reference to all std crates.
  • build: using cargo to make a build of a project.
  • lint: Basic lint support using rustfmt ftw!
  • autocomplete: A custom autocomplete AND racer support!

To Do:

  • unit test: somehow get unit test integrated better.
  • rustdoc: Make some rustdoc integration as well, while we at it.
  • user definitions: Get Racer to also do user definition reference lookup.
  • Make this module the damn bloody best way to code in Rust.

REQUIREMENT

INSTALL

Clone the repository to your ~/.textadept/modules directory:

cd ~/.textadept/modules
hg clone https://bitbucket.org/a_baez/ta-rust \
  rust

You are done! If you want to use the latest in development version of the lexer (follows the rust nightlies), then continue along.

rust nightlies lexer

Copy the rust.lua lexer file into your ~/.textadept/lexers directory:

cp ~/.textadept/modules/rust/rust.lua ~/.textadept/lexers/rust.lua

Check the USERGUIDE for more information on how to use this wonderful module.

ta-rust's People

Contributors

abaez avatar jugglerchris avatar rgieseke 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.