aboutsummaryrefslogtreecommitdiff
path: root/ligature_plugins/README.md
blob: 59beda84714d259610a9788e0f7ff94590806b91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Ligature and Unicode substitution

These features are supported *in (neo)vim only*.

### Installation

Symlink the required vim plugins to

 - `~/.vim/after/syntax/` (vim)
 - `~/.config/nvim/after/syntax/` (neovim)

 ```shell
 #vim
 cd ~/scientifica/ligature_plugins/
 for i in `ls` ; do
 ln -sf ~/scientifica/ligature_plugins/"$i" ~/.vim/after/syntax/"$i"
 done

 #nvim
 cd ~/scientifica/ligature_plugins/
 for i in `ls` ; do
 ln -sf ~/scientifica/ligature_plugins/"$i" ~/.config/nvim/after/syntax/"$i"
 done
 ```

Credits go to [romeovs](https://github.com/romeovs/) for the haskell plugin.  
Credits go to [ehamberg](https://github.com/ehamberg/vim-cute-python) for the python plugin.

Both plugins have been modified (haskell.vim especially) to play well with scientifica.  
If you need ligatures for other languages, just open an issue, with the language and the ligature sequence.