Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • RHEL has no vim jinja syntax highlight

    Posted on

    RHEL has no vim jinja syntax highlight

    you can download jinja syntax from
    https://www.vim.org/scripts/script.php?script_id=1856

    and file put in /usr/share/vim/vim82/syntax directory

    and edit /usr/share/vim/vim82/filetype.vim
    add below text

    " Jinja
    au BufNewFile,BufRead *.jinja,*.j2              setf jinja
    

    it's all

    thx

    jinja syntax

    by

    points

    Responses

    Red Hat

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat, Inc.