Code Monkey home page Code Monkey logo

dhall-vim's Introduction

dhall-vim

This package provides syntax highlighting for Dhall, a configuration language.

Installation

Using vim-plug:

Plug 'vmchale/dhall-vim'

Screenshot

Syntax highlighting demonstration

dhall-vim's People

Contributors

jvanbruegge avatar mars90226 avatar robwhitaker avatar sheerun avatar vmchale 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

Watchers

 avatar  avatar  avatar

dhall-vim's Issues

Slash after quotation mark closes string

When having a record like this:

{ somePath = "/data/foo"
, otherEntry = True
}

The slash after the quotation mark causes the whole rest of the file to behave as a string:
image
without the slash is is correct

StripTrailingWhiteSpace in multiline strings

Trailing whitespace can be important in multiline strings when we don't want the indentation of the dhall code to end up in the string.

The following is an example of where we want to keep trailing whitespace (space character written as to make it visible):

let foo =
●●●●●●''
●●●●●●multiline
●●●●●●
●●●●●●string
●●●●●●''
in foo

On save, it becomes:

let foo =
●●●●●●''
●●●●●●multiline

●●●●●●string
●●●●●●''
in foo

Which is not the same dhall string anymore:

"multiline\n\nstring\n" /= "      multiline\n\n      string\n      "

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.