aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-treesitter.lua')
-rw-r--r--lua/nvim-treesitter.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/nvim-treesitter.lua b/lua/nvim-treesitter.lua
new file mode 100644
index 000000000..ab3edf071
--- /dev/null
+++ b/lua/nvim-treesitter.lua
@@ -0,0 +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