aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/plugins/treesitter.lua
blob: 8454cb1f93f81533432e50b01b50c762ffee2a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
return {
  "nvim-treesitter/nvim-treesitter",
  event = { "BufReadPost", "BufNewFile" },
  build = ":TSUpdate",
  config = function()
    require("nvim-treesitter.configs").setup({
      ensure_installed = {
        "asm",
        "c",
        "cpp",
        "c_sharp",
        "lua",
        "kotlin",
        "java",
        "bash",
        "html",
        "scss",
        "css",
        "typescript",
        "javascript",
        "svelte",
        "python",
        "rust",
        "markdown",
        "markdown_inline",
        "yaml",
        "json",
        "glsl",
        "make",
        "gitignore",
        "gitattributes",
        "gitcommit",
        "git_config",
        "go",
        "gosum",
        "gomod",
        "gotmpl",
        "gowork",
      },
      highlight = {
        enable = true
      }
    })
  end
}