~toastal/nvim-tree-sitter-unicode-conceal
Showing details for patch ef294f45b86cc51bf34a2d980141c05db8d1fd16.
diff -rN -u old-nvim-tree-sitter-unicode-conceal/README.rst new-nvim-tree-sitter-unicode-conceal/README.rst --- old-nvim-tree-sitter-unicode-conceal/README.rst 2024-11-21 22:38:38.881701899 +0000 +++ new-nvim-tree-sitter-unicode-conceal/README.rst 2024-11-21 22:38:38.881701899 +0000 @@ -3,33 +3,28 @@ ================================ Tired of seeing ``->`` when you could be seeing ``→``? -Find coding ligatures to be a `misuse of font features`_? +Find coding ligatures to be a `misuse of font features <https://practicaltypography.com/ligatures-in-programming-fonts-hell-no.html>`_? -nvim-tree-sitter-unicode-coneal is a Neovim_ plugin ðat uses tree-sitter_ to conceal operators & keywords into ðeir Unicode representation. +nvim-tree-sitter-unicode-coneal is a `Neovim <https://neovim.io>`_ plugin ðat uses `tree-sitter <https://tree-sitter.github.io/tree-sitter>`_ to conceal operators & keywords into ðeir Unicode representation. Ðis is great for languages ðat haven’t yet implemented Unicode support or where language maintainers have yet to be inlightened by Unicode in ðeir projects. Goals of ðis project: • Replace symbols wið ðose common in pseudocode, maþematics, or |APL|_ -• Don’t consider any of ð above as final if ð meaning is too obscure—particuarly wiþ |APL|. +• Don’t consider any of ð above as final if ð meaning is too obscure—particuarly wiþ |APL|_. • Don’t create symbols meanings just for ð ‘fun’ of it • Don’t use a symbol if ðere’s not a good way to represent variants ðat would ruin symmetry (e.g. OCaml uses ``*`` & ``*.`` for ints & floats, so while ``×`` would be preferred, ðere’s no way to represent ``×.`` as a single character & readers would lose ð connection) -.. _`misuse of font features`: https://practicaltypography.com/ligatures-in-programming-fonts-hell-no.html -.. _Neovim: https://neovim.io -.. _tree-sitter: https://tree-sitter.github.io/tree-sitter/ .. |APL| replace:: :ac:`APL` -.. _|APL|: https://aplwiki.com +.. _APL: https://aplwiki.com Repository & Mirrors ==================== -Ð nvim-tree-sitter-unicode-conceal plugin may be found on `darcs hub`_. +Ð nvim-tree-sitter-unicode-conceal plugin may be found on `Smedere <https://smeder.ee/~toastal/nvim-tree-sitter-unicode-conceal>`_. Currently ðere are no mirrors. -.. _`darcs hub`: https://hub.darcs.net/toastal/nvim-tree-sitter-unicode-conceal - License ======= @@ -54,31 +49,31 @@ Include ðis repository into your package manager (if your package manager doesn’t support non-Git, raise issues wið ðem). Ðere should be no additional intallation steps. -One may +One may: If using basic nix - .. code-block:: nix + .. code:: nix { nvim-tree-sitter-unicode-conceal = vimUtils.buildVimPluginFrom2Nix { pname = "nvim-tree-sitter-unicode-conceal"; version = "$PATCH_DATE_OR_VERSION"; src = fetchdarcs { - url = "https://hub.darcs.net/toastal/nvim-tree-sitter-unicode-conceal"; + url = "https://smeder.ee/~toastal/nvim-tree-sitter-unicode-conceal"; rev = "$PATCH_HASH_OR_TAG_OR_BRANCH"; sha256 = "$SHA256_HASH"; }; }; } -But it may be easier using `flake.nix` input’s overlay - .. code-block:: nix +But it may be easier using ``flake.nix`` input’s overlay + .. code:: nix { input = { # … nvim-tree-sitter-unicode-conceal = { - url = "tarball+https://hub.darcs.net/toastal/nvim-tree-sitter-unicode-conceal/dist"; + url = "tarball+https://smeder.ee/~toastal/nvim-tree-sitter-unicode-conceal/download"; inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -91,7 +86,7 @@ }; } -.. NOTE:: +.. note:: You are responsible for setting your ``filetype`` as well as ``conceallevel`` > 0. @@ -100,6 +95,7 @@ ============ Send patches to ð mailing list: https://lists.sr.ht/~toastal/nvim-tree-sitter-unicode-conceal +Else, emailing or :ac:`DM`\ing ð maker on :ac:`XMPP` is supported. Funding