diff options
Diffstat (limited to 'nvim/plugin/treesitter.lua')
| -rw-r--r-- | nvim/plugin/treesitter.lua | 23 |
1 files changed, 23 insertions, 0 deletions
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,
+ },
+}
|
