8000 Vim filter cannot process two files with same name but different extensions · Issue #57 · adityam/filter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Vim filter cannot process two files with same name but different extensions #57
Closed
@gucci-on-fleek

Description

@gucci-on-fleek

e8a769e changed \splitoffname to \splitoffbase. \splitoffbase discards the file extension, which means that you cannot highlight two files with the same name and different extensions since the .vimout file will always be overwritten by the last file included.

Reproduction

ConTeXt: ver: 2021.09.26 17:00 LMTX fmt: 2021.10.4 int: english/english

vim/filter modules: 3873a0a

test.A

\def\AAA{\relax}

test.B

\def\BBB{\relax}

test.tex

\usemodule[vim]
\definevimtyping[TEX][syntax=tex]

\starttext
    \section{A}
    \typeTEXfile{test.A}
    \section{B}
    \typeTEXfile{test.B}
\stoptext

Result

result

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    < 3380 /div>

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0