GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - abaez/ta-rust: A mirror for the textadept module ta-rust hosted in bitbucket

BranchesTags
Open more actions menu

Latest commit

 

History

222 Commits
222 Commits

Folders and files

NameName
Last commit message
Last commit date
builder
builder
 
 
ta
ta
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
USERGUIDE.md
USERGUIDE.md
 
 
autocomplete.lua
autocomplete.lua
 
 
ctags.rust
ctags.rust
 
 
init.lua
init.lua
 
 
keys.lua
keys.lua
 
 
rust.lua
rust.lua
 
 
snippets.lua
snippets.lua
 
 

Repository files navigation

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

  • Rust >= v1.20.0 (rev: f3d6973f)
  • Textadept >= v9.0
  • (optional) racer
  • (optional) textadept ctags
  • (optional) rustfmt

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

USERGUIDE

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

About

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

bitbucket.org/a_baez/ta-rust

Topics

lexerluaracerrustrustfmttextadept

Resources

Readme
MIT license
Activity

Stars

21 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.