Coder Social home page Coder Social logo

tridactyl / vim-tridactyl Goto Github PK

View Code? Open in Web Editor NEW
31.0 4.0 2.0 29 KB

VIM syntax plugin for Tridactyl configuration files

License: Apache License 2.0

Vim Script 100.00%
tridactyl vim-plugin vim-syntax vim-filetype plugin-vim vim syntax-highlighting

vim-tridactyl's Introduction

vim-tridactyl Vint

VIM syntax plugin for Tridactyl configuration files.

Installation

Install with your favorite VIM plug manager. E.g. for vim-plug:

Plug 'tridactyl/vim-tridactyl'

vim-tridactyl's People

Contributors

alerque avatar mimame avatar rddunphy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mimame rddunphy

vim-tridactyl's Issues

Fix allowed symbols in commands

I started matching ex commands with the list of predefined ones (not including default aliases). These names ale all alpha letters, a couple than have numbers, and few more that have underscores. I'm currently allowing that character range for user defined commands and aliases, but I see we have at least one exception to account for: exclaim is aliased to !.

That opens the can of worms that I'm not sure which symbols should be allowed in command names. What else might be allowed? Dashes? Other symbols? What should I account for?

@bovine3dom perhaps you can point me in the right direction...

Include CSS highlighting for selectors

Many rules have trailing CSS selectors such as hint -xx <css_selector>. We should be able to import CSS rules and apply them to these pretty easily as long as they are always the last thing on the line and we know when to expect them.

Catch command flags

Many commands have -x or --x=y style command arguments that are passed before their usual expected data.

Catch these as appropriate. For example right now unbind expects a key sequence, but the next argument might actually be --mode=ex. Or js expects javascript, but it might actually get an arg -p first.

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.