This package provides syntax highlighting for Dhall, a configuration language.
Using vim-plug:
Plug 'vmchale/dhall-vim'
Syntax highlighting for Dhall
License: BSD 3-Clause "New" or "Revised" License
Trying to use a special character (\n
for example) while in a ${}
inside a string interpolation breaks the highlighting for the ${}
part.
Example:
``
${concatMapSep "\n" ...}
``
When using let g:dhall_format=1
and trying to undo a buffer to a previous state it takes lots of u
pressing to make that happen.
Hard to tell but it seems like on write dhall makes not one change but lots.
Though I'm using neovim:
nvim --version
NVIM v0.6.0
Build type: Release
LuaJIT 2.1.0-beta3
This error occurs for any dhall file opened after the first.
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 "
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.