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

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

Open
technicalpickles opened this issue Jul 18, 2022 · 0 comments
Open

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

technicalpickles opened this issue Jul 18, 2022 · 0 comments

Comments

@technicalpickles
Copy link

technicalpickles commented Jul 18, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant