diff options
Diffstat (limited to 'lua/nvim-treesitter.lua')
| -rw-r--r-- | lua/nvim-treesitter.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/nvim-treesitter.lua b/lua/nvim-treesitter.lua index cbed117d2..ab3edf071 100644 --- a/lua/nvim-treesitter.lua +++ b/lua/nvim-treesitter.lua @@ -1,10 +1,13 @@ local api = vim.api +local parsers = require'nvim-treesitter.parsers' local M = {} -- This function sets up everythin needed for a given language -- this is the main interface through the plugin function M.setup(lang) + if parsers.has_parser(lang) then + end end return M |
