diff options
Diffstat (limited to 'ligature_plugins')
-rw-r--r-- | ligature_plugins/README.md | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/ligature_plugins/README.md b/ligature_plugins/README.md index 59beda8..7173d61 100644 --- a/ligature_plugins/README.md +++ b/ligature_plugins/README.md | |||
@@ -1,30 +1,22 @@ | |||
1 | # Ligature and Unicode substitution | 1 | # Ligature and Unicode substitution |
2 | 2 | ||
3 | These features are supported *in (neo)vim only*. | 3 | These features are supported in {neo,}vim only. |
4 | 4 | ||
5 | ### Installation | 5 | ### Installation |
6 | 6 | ||
7 | Symlink the required vim plugins to | 7 | Copy the required vim plugins to |
8 | 8 | ||
9 | - `~/.vim/after/syntax/` (vim) | 9 | - `~/.vim/after/syntax/` (vim) |
10 | - `~/.config/nvim/after/syntax/` (neovim) | 10 | - `~/.config/nvim/after/syntax/` (neovim) |
11 | 11 | ||
12 | ```shell | 12 | ```shell |
13 | #vim | 13 | # the rust plugin for example: |
14 | cd ~/scientifica/ligature_plugins/ | 14 | mkdir -p ~/.vim/after/syntax |
15 | for i in `ls` ; do | 15 | cp ligature_plugins/rust.vim ~/.vim/after/syntax/ |
16 | ln -sf ~/scientifica/ligature_plugins/"$i" ~/.vim/after/syntax/"$i" | ||
17 | done | ||
18 | |||
19 | #nvim | ||
20 | cd ~/scientifica/ligature_plugins/ | ||
21 | for i in `ls` ; do | ||
22 | ln -sf ~/scientifica/ligature_plugins/"$i" ~/.config/nvim/after/syntax/"$i" | ||
23 | done | ||
24 | ``` | 16 | ``` |
25 | 17 | ||
26 | Credits go to [romeovs](https://github.com/romeovs/) for the haskell plugin. | 18 | If you have `set conceallevel=0` if your `vimrc`, remove it. |
27 | Credits go to [ehamberg](https://github.com/ehamberg/vim-cute-python) for the python plugin. | ||
28 | 19 | ||
29 | Both plugins have been modified (haskell.vim especially) to play well with scientifica. | 20 | Big thanks to [romeovs](https://github.com/romeovs/) for |
30 | If you need ligatures for other languages, just open an issue, with the language and the ligature sequence. | 21 | creating the haskell plugin and the idea of ligatures via |
22 | conceals. | ||