Code Monkey home page Code Monkey logo

play2vim's Introduction

play2vim

A vim plugin for Play framework 2.0.

Install

Using pathogen:

cd .vim/bundle
git clone https://github.com/gre/play2vim.git

Using Vundle:

Add the following line to your .vimrc:

Plugin 'gre/play2vim'

After that, run :PluginInstall in vim

Or

From your terminal, run vim +PluginInstall +qall

Recommended plugins

What's in the box?

  • conf/routes syntax color
  • conf/application.conf syntax color
  • *.scala.html syntax color

screenshot

More will come soon.

I would be happy to accept any contributions to this project.

Licence

This software is licensed under the Apache 2 license, quoted below.

Copyright 2011 Gaëtan Renaudeau [email protected]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

play2vim's People

Contributors

alswl avatar andrewla avatar char101 avatar divarvel avatar fayimora avatar gre avatar h4n0 avatar rumblesan 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

play2vim's Issues

Indentation

Is it planned to add an auto indent for *.scala.html ?

Conflict with nginx

Hi,

This line overrides nginx conf syntax

au BufRead,BufNewFile /conf/.conf set filetype=play2-conf

Could you use setf instead of set filetype so that it does not override the filetype?

play2-html didn't work at vim73

play2-routs works, but play2-html didn't work.
The html code can be highlighted. but template tags didn't.

My environment:

  • Arch Linux
  • vim 7.3
  • scala 2.9.2
  • Scala: git://github.com/derekwyatt/vim-scala.git

Thank you.

Obstructing other html plugins/settings

The html file type is now play2-html which obstructs my setup. I guess the syntax could be changed play2-html but I think the ft should remain html for compatibility purposes.

What do you think?

Fayi

Installation docs

Some how-to-install steps would be useful for this project. Can play2vim be installed with Vundle? Pathogen? Or do I have to copy stuff around manually?

is there an active user of this module?

i'm no longer using it. (no longer using VIM and no longer using Play Framework, so i'll be happy to transfer this project to anyone who actively uses it!)

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.