my neovim config, who would've thought
at main 420 B view raw
1if not vim.filetype then 2 return 3end 4 5vim.filetype.add { 6 extension = { 7 lock = "yaml", 8 gotmpl = "gotmpl", 9 vil = "json", 10 }, 11 filename = { 12 [".eslintrc"] = "jsonc", 13 [".prettierrc"] = "jsonc", 14 [".stignore"] = "gitignore", 15 }, 16 pattern = { 17 ["%.env%.[%w_.-]+"] = "sh", 18 ["*.Dockerfile.*"] = "dockerfile", 19 [".*/hypr/.+%.conf"] = "hyprlang", 20 [".*/kitty/.+%.conf"] = "kitty", 21 }, 22}