aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins/treesitter.lua
blob: 9673f6332e9008e1cb0cb7915b9b5231ff936cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
return {
  -- treesitter is experimental and breaks indentation on xml, html with `=`
  -- treesitter is optional for orgmode, but without it syntax highlighting in
  -- org files is broken
  'nvim-treesitter/nvim-treesitter',
  config = function()
     require'nvim-treesitter.configs'.setup {
       ensure_installed = {"c", "html", "css", "javascript", "org"},
       sync_install = false,
       auto_install = true,
       ignore_install = {},
       disable = { },
       modules = { "all" },
       highlight = {
        enable = true,
      }
     }
  end
}

..