summaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/treesitter.lua')
-rw-r--r--lua/plugins/treesitter.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/treesitter.lua b/lua/plugins/treesitter.lua
new file mode 100644
index 0000000..d42aca5
--- /dev/null
+++ b/lua/plugins/treesitter.lua
@@ -0,0 +1,11 @@
+return {
+ "nvim-treesitter/nvim-treesitter",
+ config = function()
+ require"nvim-treesitter.configs".setup({
+ ensure_installed = { "cpp", "ocaml", "python" },
+ highlight = {
+ enable = true,
+ }
+ })
+ end
+}