From d3d4c1411c8363fb186ae8c689d85d7fed5191c3 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Sun, 3 Nov 2024 20:38:14 -0800 Subject: fix(cooklang): apply correct filetype `Cooklang` files are recognized as `cook` in vim. This prevents the parser from attaching since it is looking for `cooklang` files, so we have to specify the `filetype` here. --- lua/nvim-treesitter/parsers.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lua') diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 8e3ce2cf4..8fc5e555e 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -288,6 +288,7 @@ list.cooklang = { files = { "src/parser.c", "src/scanner.c" }, }, maintainers = { "@addcninblue" }, + filetype = "cook", } list.corn = { -- cgit v1.2.3-70-g09d2