We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35987ee commit ea9fb5fCopy full SHA for ea9fb5f
1 file changed
docs/plugins/treesitter.md
@@ -112,6 +112,21 @@ opts = {
112
config = function(_, opts)
113
local TS = require("nvim-treesitter")
114
115
+ setmetatable(require("nvim-treesitter.install"), {
116
+ __newindex = function(_, k)
117
+ if k == "compilers" then
118
+ vim.schedule(function()
119
+ LazyVim.error({
120
+ "Setting custom compilers for `nvim-treesitter` is no longer supported.",
121
+ "",
122
+ "For more info, see:",
123
+ "- [compilers](https://docs.rs/cc/latest/cc/#compile-time-requirements)",
124
+ })
125
+ end)
126
+ end
127
+ end,
128
129
+
130
-- some quick sanity checks
131
if not TS.get_installed then
132
return LazyVim.error("Please use `:Lazy` and update `nvim-treesitter`")
0 commit comments