From 0561e714bb476d936e51f6e49292542712255dec Mon Sep 17 00:00:00 2001 From: Leander <80996591+m0ntagur@users.noreply.github.com> Date: Sat, 13 Aug 2022 00:31:07 +0200 Subject: Add files via upload --- nvim/plugin/treesitter.lua | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 nvim/plugin/treesitter.lua (limited to 'nvim/plugin/treesitter.lua') diff --git a/nvim/plugin/treesitter.lua b/nvim/plugin/treesitter.lua new file mode 100644 index 0000000..a6b3c40 --- /dev/null +++ b/nvim/plugin/treesitter.lua @@ -0,0 +1,23 @@ +local status, ts = pcall(require, 'treesitter') +if (not status) then return end + +ts.setup { + highlight = { + enable = true, + disable = {} + }, + indent = { + enable = true, + disable = {} + }, + ensure_installed = { + 'lua', + 'python', + "css", + "html", + "json", + }, + autotag = { + enable = true, + }, +} -- cgit v1.3.1