nvim: treesitter: Force nvim-treesitter to use a specific compiler

Required for Haskell. See
https://github.com/tree-sitter/tree-sitter-haskell#building-with-nvim-treesitter
This commit is contained in:
Sanchayan Maity 2021-06-19 11:26:13 +05:30
parent a16c244fce
commit 0649b639da

View file

@ -26,3 +26,5 @@ require'nvim-treesitter.configs'.setup {
}, },
}, },
} }
require'nvim-treesitter.install'.compilers = { "gcc" }