Giter VIP home page Giter VIP logo

elm.vim's People

Contributors

benblazak avatar hoosieree avatar japesinator avatar jcorbin avatar kasbah avatar lambdatoast avatar otavialabs avatar patricksimpson avatar qzchenwl avatar rgrinberg 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  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  avatar  avatar  avatar  avatar

elm.vim's Issues

Auto-indentation of `in` and `else` can get annoying

Something is wrong with the way in is handled. Say you have some code like this:

let a = False
case a of 
    False -> ()

and you are just adding the in in front of the case you get to incase and it gets indented by one. Which is a bit annoying.

With else I often want to align like this:

f a = if a then b
      else c

so the auto-aligning to the then gets really annoying.

License file

Hi - I'm wanting to package this for Fedora, would you mind adding a license file to the repo? Thanks!

Breaking commenting for all other files

I don't know why but this plugin is causing my commenting from vim-commentator to break. It puts the -- instead of the file's syntax commenting characters. This seemingly happened after I upgrade vim to 7.4 with patches 1-1786. I don't have a good enough understanding of vim to figure out where to even begin with this problem.

Upgrade to Elm 0.14.x

I was looking into how to upgrade this plugin to support the new executable names in 0.14.x, but it seems that some of the functionality is not longer present in elm (like the --print-types).

Is there another way to support that release?

Type inference

It would be awesome to add an ability to see type of a particular expression

Installing

How do I actually install this? I'm not great at vim, and the usual stuff I do with pathogen doesn't seem to load the plugin.

Sorry for being a noob :)

Problem with indentation

Hello,
It seems that there is an issue regarding the indentation.

Consider the following snippet, the cursor is represented by '^':

foo =
    bar
    ^

Then if I press backspace, I get the following:

foo =
bar
   ^

The position of the cursor seems to be wrong.

Highlight multiline strings

Elm supports long strings ala python

"normal string"
"""loooong string"""

The official docs underdefine what escapes, if any, are supported but I don't think it'd be wrong to just crib the builtin python syntax region and get rid of the singe-quote ''' variant:

syn region  pythonString
      \ start=+[uU]\=\z('''\|"""\)+ end="\z1" keepend
\ contains=pythonEscape,pythonSpaceError,pythonDoctest,@Spell

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.