From 246206019bc72b9119b7043cadd61cf4ea0604a0 Mon Sep 17 00:00:00 2001 From: Akshay Date: Tue, 14 Apr 2020 11:09:40 +0530 Subject: update docs --- ligature_plugins/README.md | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) (limited to 'ligature_plugins') 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 @@ # Ligature and Unicode substitution -These features are supported *in (neo)vim only*. +These features are supported in {neo,}vim only. ### Installation -Symlink the required vim plugins to +Copy 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 +# the rust plugin for example: +mkdir -p ~/.vim/after/syntax +cp ligature_plugins/rust.vim ~/.vim/after/syntax/ ``` -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. +If you have `set conceallevel=0` if your `vimrc`, remove it. -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. +Big thanks to [romeovs](https://github.com/romeovs/) for +creating the haskell plugin and the idea of ligatures via +conceals. -- cgit v1.2.3