Coder Social home page Coder Social logo

joshtch / yats.vim Goto Github PK

View Code? Open in Web Editor NEW

This project forked from herringtondarkholme/yats.vim

0.0 1.0 0.0 903 KB

Yet Another TypeScript Syntax: The most advanced TypeScript Syntax Highlighting in Vim

Makefile 2.45% Shell 0.03% JavaScript 0.97% TypeScript 0.59% Vim Script 95.61% Vim Snippet 0.34% Batchfile 0.01%

yats.vim's Introduction

YATS: Yet Another TypeScript Syntax

Build Status

screenshot

Yet Another TypeScript Syntax file for Vim, adapted from YAJS. Key differences:

  • Exuberant Highlighting. The most elaborate or byzatine syntax highlighting for TypeScript.
  • Bundled with snippets for UltiSnips!
  • Builtin Support for tagbar!
  • Use 'typescript' as group name's prefix, not 'typeScript' nor 'TypeScript'. Works great with SyntaxComplete.
  • Inherit Web API and DOM keywords from YAJS
  • Syntax fold. Fold long code block, semantically!
  • Remove old, unused syntax definitions.

Config

  • let g:yats_host_keyword = 1: configure yats to highlight host specific keywords like addEventListener. Default is 1. Set it 0 to turn off highlighting.

  • Note: set re=0 explicitly in your vimrc. Old regexp engine will incur performance issues for yats and old engine is usually turned on by other plugins.

Credits

  • othree, whose YAJS is the most up-to-date js syntax for Vim
  • Jose Elera, Enhanced Javascript syntax
  • Zhao Yi, Claudio Fleiner, Scott Shattuck (This file is based on their hard work)
  • gumnos (From the #vim IRC Channel in Freenode) (Who helped me figured out the crazy Vim Regexes)

License

The same as Vim

yats.vim's People

Contributors

herringtondarkholme avatar othree avatar jelera avatar rhysd avatar dsifford avatar milly avatar unc0 avatar danifus avatar bluekeys avatar vanuan avatar ecklf avatar rossjrw avatar bigjason avatar schniz avatar crusoexia avatar sherwinyu avatar studyroz avatar ohcibi avatar karchz avatar eudika avatar dcchuck avatar billychan avatar ozelentok avatar sleepycat avatar mttrms avatar larissa avatar jketcham avatar delapouite avatar zbinlin avatar benoitzugmeyer avatar

Watchers

James Cloos 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.