Conceal J code with unicode characters.
A unicode-supporting font is required to view the document j.vim correctly, as well as code written using this conceal library.
-
Install a unicode font like Iosevka.
-
Use https://github.com/guersam/vim-j for basic J highlighting.
-
Also set
setlocal conceallevel=2
set concealcursor=ncv
in your vimrc file to conceal the characters with their unicode equivalent.
-
Place
j.vim
in your~/.config/nvim/after/syntax/
directory, assuming neovim (or equivalent for vim). -
View test.ijs or another file to verify everything is working as it shouldl.