Newer
Older
nvim-config / lua / plugins / nvim-treesitter.lua
@Marcus Bengtsson Marcus Bengtsson on 22 Feb 2024 527 bytes Add python LSP
return {
  "nvim-treesitter/nvim-treesitter",
  build = ":TSUpdate",
    config = function ()
    local configs = require("nvim-treesitter.configs")

    configs.setup({
      ensure_installed = {
        "bash",
        "git_config",
        "git_rebase",
        "gitattributes",
        "gitcommit",
        "gitignore",
        "ini",
        "lua",
        "markdown",
        "python",
        "vim",
        "xml",
        "yaml" },
      highlight = { enable = true },
      indent = { enable = true },
    })
  end,
}