diff options
| author | Thomas Vigouroux <39092278+vigoux@users.noreply.github.com> | 2020-04-19 09:50:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-19 09:50:39 +0200 |
| commit | ac3c2ec2ec69043047decebe5ec40cebd75bb357 (patch) | |
| tree | 6bdf2bb238354161c484e92e575a30a7d77b7d09 /lua/nvim-treesitter.lua | |
| parent | 3ca9471db634272162c581988c696f6d73f6baa6 (diff) | |
| parent | 2526baf4cc5ea540188345c856adb162ce102674 (diff) | |
Merge pull request #1 from vigoux/master
Initialize the repo
Diffstat (limited to 'lua/nvim-treesitter.lua')
| -rw-r--r-- | lua/nvim-treesitter.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lua/nvim-treesitter.lua b/lua/nvim-treesitter.lua new file mode 100644 index 00000000..ab3edf07 --- /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 |
