Giter Site home page Giter Site logo

ooc.vim's Introduction

Build Status

ooc.vim

This is the official vim plug-in for ooc language support.

It provides:

  • Syntax highlighting
  • Indentation support
  • A syntastic plug-in for use with sam
  • :make command support (launches rock -v)

Install instructions

Vundle is a very neat tool to manage your vim plugins, and is the recommended way to get ooc.vim and keep it up-to-date.

Add this to your ~/.vimrc:

Bundle 'fasterthanlime/ooc.vim'

Then restart vim, run :BundleInstall, and you're set!

Installing ooc.vim with pathogen should be as easy as cloning it in ~/.vim/bundle

Syntastic

To use the syntastic plug-in, first you have to install syntastic itself.

For now, the dependencies are as follow:

  • rock 0.9.9 or greater, in your $PATH
  • sam 0.10.1 or greater, in your $PATH

This plug-in uses the sam check command if the dependencies above are met, to check whether there are errors in an .ooc file. It will only work for .ooc files that are part of a project that has a .use file, not for standalone ooc files.

Checking with rock can be slow at times, especially within large projects. There are two solutions to that.

One can change the checking mode using the g:syntastic_sam_mode option. To only do syntax checking instead of a full source check, do:

let g:syntastic_sam_mode = 'syntax'

The valid values for g:syntastic_sam_mode are syntax, check, and codegen (from fastest to most thorough).

ooc.vim's People

Contributors

nddrylliog avatar causal-agent avatar alexnask avatar fasterthanlime avatar horasal 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.