nvim: Add ft detection for dvc files

Added ftdetect folder for files from dvc.
This commit is contained in:
Marty Oehme 2024-01-11 17:59:46 +01:00
parent 2f69b955d2
commit ba56e6f546
Signed by: Marty
GPG Key ID: EDBF2ED917B2EF6A
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
-- Set filetypes for 'data version control'
-- dvc works with yaml file types
vim.filetype.add({
extension = {
dvc = "yaml",
},
filename = {
["Dvcfile"] = "yaml",
["dvc.lock"] = "yaml",
}
})