Git Product home page Git Product logo

vim-haskellconceal's Introduction

Use Vim 7.3 Conceal feature to display unicode operator
in Haskell without changing the underlying file.

GitHub: https://github.com/Twinside/vim-haskellConceal

## Installation

Decompress in your ~/vimfiles or ~/.vim, if you're using
pathogen (you should), put it in ~/.vim/bundle/haskellConceal
folder

vim-haskellconceal's People

Contributors

adimit avatar ehamberg avatar enomsg avatar jagajaga avatar m0ar avatar maxnordlund avatar tusj avatar twinside 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vim-haskellconceal's Issues

Please add a license

Though, I already downloaded this as a bundle, so you could technically sue me. ;)

Concealing chars aren't monospaced.

The chars that replace the original chars (for example -> to → , <- to ← , :: to ∷) aren't monospaced, that is they don't use the same amount of pixels on screens.

This causes indentations and uniformly aligned lines to appear unaligned or "broken", thus less readable.
I'm not sure if this is because of the font I'm using (Monaco 14pt), or if Vim doesn't force monospacing properly.

Any way this can be fixed?

Make two character conceal letters occupy two spaces

For conceal symbols such as >> or -> turning in to symbols only occupying one space can cause confusion where it looks like blocks are properly aligned but are in fact not, leading to compile errors.

Example:

case blob of True -> do putStrLn "hey"
                        putStrLn "you!"
             False ...

If the conceal is used, this block will need to look misaligned in order to compile.

I suggest that two-character symbols should be concealed with an extra space so that there will be no difference.

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.