mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat: add backward compatibility for 'configs' module name
Users with existing configs using will now receive a proper error message with migration guidance instead of a cryptic module not found error.
This commit is contained in:
parent
5a7e5638e7
commit
ddaf6ffe96
1 changed files with 3 additions and 0 deletions
3
lua/nvim-treesitter/configs.lua
Normal file
3
lua/nvim-treesitter/configs.lua
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
-- Backward compatibility module
|
||||
-- TODO: Remove this file in a future version when all users migrate to the new module name
|
||||
return require('nvim-treesitter.config')
|
||||
Loading…
Add table
Add a link
Reference in a new issue