aboutsummaryrefslogtreecommitdiff
path: root/ligature_plugins/README.md
blob: a17c67ba77a2bd3d0a9ef18c91961649b7c36e99 (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
31
32
33
# Ligatures and Unicode substitution

These features are supported *in 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 *.vim`; do
 ln -sf ~/scientifica/ligature_plugins/"$i" ~/.vim/after/syntax/"$i"
 done

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

Haskell in vim with scientifica:
![haskell_ligs](https://0x0.st/sT8a.png)

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.