Giter Site home page Giter Site logo

vim-arduino-syntax's Introduction

vim-arduino-syntax

Love Arduino and Vim? Then use this syntax file and get syntax highlighting for Arduino functions in vim.

This plugin contributes to vim-polyglot language pack.

Features

  • Supports both Arduino IDE 1.0.x and 1.5.x
  • Arduino indent and syntax highlighting
  • Support for libraries provided by the IDE
  • Autocompletion (using omnicomplete)

TODO

  • Automatically include keywords from keywords.txt of Arduino User libraries

Installation

This plugin follows the standard runtime path structure, and as such it can be installed with a variety of plugin managers:

git clone https://github.com/sudar/vim-arduino-syntax

Remember to run :Helptags to generate help tags

NeoBundle 'vim-arduino-syntax'
Plugin 'sudar/vim-arduino-syntax'

:PluginInstall

Manual

  • Copy syntax/arduino.vim file into your ~/.vim/syntax directory
  • Copy ftdetect/arduino.vim file into your ~/.vim/ftdetect directory
  • Copy indent/arduino.vim file into your ~/.vim/indent directory

Contributing

Contributions are always welcome in the form of pull requests with explanatory comments.

Credit

  • The syntax file was originally created by Johannes Hoff. I regenerated the file using his python script and added some additional changes on top of it.
  • Arduino 1.5.x support was added by z3t0
  • Support for indent was added by KevinSjoberg

Other tools for Arduino and Vim

If you are using Arduino with Vim, then also checkout some of my other projects.

vim-arduino-syntax's People

Contributors

benoittgt avatar hovsater avatar lakshayg avatar sheerun avatar sudar avatar z3t0 avatar

Watchers

 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.