Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.
This repository was archived by the owner on May 6, 2024. It is now read-only.

Not all .lock files are toml, only Cargo.lock #87

@technicalpickles

Description

@technicalpickles

I was setting up vim-bundler and was struggling to figure out why it kept treating my Gemfile.lock as toml, even though the package includes its own syntax and filetype. I filed tpope/vim-bundler#55 about it.

After some digging, it lead me to

Compare this to filetypes.nvim:

au BufNewFile,BufRead Cargo.lock,*/.cargo/config,*/.cargo/credentials	setf toml

I disabled filetype.nvim, and it started working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions