Skip to content

Freed-Wu/conceal.vim

Repository files navigation

conceal.vim

pre-commit.ci status

github/downloads github/downloads/latest github/issues github/issues-closed github/issues-pr github/issues-pr-closed github/discussions github/milestones github/forks github/stars github/watchers github/contributors github/commit-activity github/last-commit github/release-date

github/license github/languages github/languages/top github/directory-file-count github/code-size github/repo-size github/v

Provide vim conceal for:

  • emoji 👍 :+1:
  • html escape character ♥ ♥
  • fontawesome
    • html: <i class="fa-solid fa-rss"></i>
    • tex: \faIcon{rss}
    • javascriptreact/typescriptreact: <FontAwesomeIcon icon="fa-solid fa-rss" />
    • vue: <font-awesome-icon icon="fa-solid fa-rss" />

Before using this plugin:

before-emoji

before-fontawesome

before-html

After using this plugin:

after-emoji

after-fontawesome

after-html

Conflict

  let g:rainbow_conf = {
        \ 'separately': {
          \ 'html': 0,
          \ },
          \ }

vimtex support fontawesome conceal for latex and it detects user if import fontawesome5 package, which is more powerful. The plugin's function which conceals fontawesome for latex will not be called by default in order to avoid conflict.

FAQ

  • Change conceal color?

    • KeitaNakamura/tex-conceal.vim#36, the blue emoji in the screenshot can be realized by:

      let g:indentLine_color_term = 'blue'
      let g:indentLine_color_gui = 'blue'

Related

Conceal tex symbols

Input emoji

Releases

No releases published

Packages

No packages published