···28282929 2. Extract the release package:
3030```shell
3131-tar xzf scientifica-v1.2.tar.gz
3131+tar xf scientifica-v1.2.tar.gz
3232```
333334343. You may install either the `ttf`s or the `otb`s or the
···76767777Check if your installation procedure was a success:
78787979- 1. Run `fc-list | grep sci`
7979+ 1. Run `fc-list | grep scientifica`
8080 2. If the output is **not** null, congrats!
8181 3. Proceed to [Troubleshooting](#troubleshooting) if the output is empty
8282
+1-1
LICENSE
···11-Copyright (c) 2018 Akshay Oppiliappan (nerdypepper@tuta.io)
11+Copyright (c) 2020 Akshay Oppiliappan (nerdy@peppe.rs)
2233This Font Software is licensed under the SIL Open Font License, Version 1.1.
44This license is copied below, and is also available with a FAQ at:
+15-3
README.md
···18181919 - Scaleable `ttf` format
2020 - Raster formats: `otb` and `bdf`
2121+ - Ligatures (vim and neovim only)
2122 - **Bold** and *Italic* variants
2223 - New Characters to the following unicode blocks:
2324 * Geometric Shapes
···34353536## Gallery
36373737-|  |  |  |  |
3838-| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- |
3939-| Programming | Box Drawings | Latin, Polish, Slovakian, French, German | Powerline glyphs |
3838+|  |  |  |
3939+| -------------------------------- | -------------------------------- | -------------------------------- |
4040+| Programming | Box Drawings | Latin, Polish, Slovakian, French, German |
4141+4242+|  |  |
4343+| -------------------------------- | -------------------------------- |
4444+| Powerline Glyphs | Ligatures (Rust, Python, Haskell, Ocaml) |
404541464247## Installation
43484449Installation instructions have been moved to
4550[`INSTALL.md`](INSTALL.md).
5151+5252+## Ligatures
5353+5454+Scientifica supports ligatures in Vim and Neovim via the
5555+conceal feature. Please read the
5656+[Ligatures](ligature_plugins/README.md)
5757+manual for instructions.
465847594860## Credits
···11# Ligature and Unicode substitution
2233-These features are supported *in (neo)vim only*.
33+These features are supported in {neo,}vim only.
4455### Installation
6677-Symlink the required vim plugins to
77+Copy the required vim plugins to
8899 - `~/.vim/after/syntax/` (vim)
1010 - `~/.config/nvim/after/syntax/` (neovim)
11111212 ```shell
1313- #vim
1414- cd ~/scientifica/ligature_plugins/
1515- for i in `ls` ; do
1616- ln -sf ~/scientifica/ligature_plugins/"$i" ~/.vim/after/syntax/"$i"
1717- done
1818-1919- #nvim
2020- cd ~/scientifica/ligature_plugins/
2121- for i in `ls` ; do
2222- ln -sf ~/scientifica/ligature_plugins/"$i" ~/.config/nvim/after/syntax/"$i"
2323- done
1313+# the rust plugin for example:
1414+mkdir -p ~/.vim/after/syntax
1515+cp ligature_plugins/rust.vim ~/.vim/after/syntax/
2416 ```
25172626-Credits go to [romeovs](https://github.com/romeovs/) for the haskell plugin.
2727-Credits go to [ehamberg](https://github.com/ehamberg/vim-cute-python) for the python plugin.
1818+If you have `set conceallevel=0` in your `vimrc`, remove it.
28192929-Both plugins have been modified (haskell.vim especially) to play well with scientifica.
3030-If you need ligatures for other languages, just open an issue, with the language and the ligature sequence.
2020+Big thanks to [romeovs](https://github.com/romeovs/) for
2121+creating the haskell plugin and the idea of ligatures via
2222+conceals.
+2-1
ligature_plugins/haskell.vim
···2626syn match DMHArrowH /=\@<=>/ contained containedin=DMHArrow conceal cchar=โ
27272828" >>=
2929-syn match DTTMArrow />>\ze=/ contains=DTTMArrowT,DTTMArrowTT
2929+syn match DTTMArrow />>\ze=/ contains=DTTMArrowT,DTTMArrowTT,DTTMArrowH
3030syn match DTTMArrowTT />/ contained containedin=DTTMArrow conceal cchar=๎
3131syn match DTTMArrowT />\@<=>/ contained containedin=DTTMArrow conceal cchar=๎
3232+syn match DTTMArrowH /=\@<=>/ contained containedin=DTTMArrow conceal cchar=๎
32333334" >=>
3435syn match DTMHArrow />=>/ contains=DTMHArrowT,DTMHArrowM,DTMHArrowH
+1-1
ligature_plugins/ocaml.vim
···2020syntax match ocamlArrow /<\ze-/ contains=ocamlArrowM,ocamlArrowH
2121syntax match ocamlArrowH /</ contained containedin=ocamlArrow conceal cchar=โ
22222323-" <>
2323+" <>
2424syntax match ocamlNiceOperator "<>" conceal cchar=โ
25252626" greek letters
+26
ligature_plugins/rust.vim
···11+setlocal conceallevel=1
22+syntax clear rustOperator
33+44+syntax match rustBelleOperator "<=" conceal cchar=โค
55+syntax match rustBelleOperator ">=" conceal cchar=โฅ
66+syntax match rustBelleOperator "!=" conceal cchar=โ
77+88+" ->
99+syn match rustArrowCharacter /->/ contains=PointerTail,PointerHead
1010+syn match PointerTail /-/ contained containedin=rustReturn conceal cchar=๎
1111+syn match PointerHead /-\@<=>/ contained containedin=rustReturn conceal cchar=โ
1212+1313+" =>
1414+syn match rustImplies /=>/ contains=ImpliesTail,ImpliesHead
1515+syn match ImpliesTail /=/ contained containedin=rustImplies conceal cchar=๎
1616+syn match ImpliesHead /=\@<=>/ contained containedin=rustImplies conceal cchar=โ
1717+1818+" ==
1919+syn match rustIsEqual /==/ contains=FirstEqual,SecondEqual
2020+syn match FirstEqual /=/ contained containedin=rustIsEqual conceal cchar=๎
2121+syn match SecondEqual /=\@<=>/ contained containedin=rustIsEqual conceal cchar=๎
2222+2323+" #[
2424+syn match rustAttributeHash /#\[/ contains=rustAH,rustAB
2525+syn match rustAH /#/ contained containedin=rustAH conceal cchar=๎
2626+syn match rustAB /\[/ contained containedin=rustAB conceal cchar=๎