limit treesitter install
authorGeorgios Atheridis <atheridis@tutamail.com>
Mon, 6 Jun 2022 12:25:34 +0000 (12:25 +0000)
committerGeorgios Atheridis <atheridis@tutamail.com>
Mon, 6 Jun 2022 12:25:34 +0000 (12:25 +0000)
nvim/lua/nvim/plugins.lua
nvim/lua/nvim/treesitter.lua

index b697560a969ce5592ba4202bb3e6747b4f4eb7b1..06bb2de4fb513bf4e31fec3b26537d9c53feecb0 100644 (file)
@@ -100,7 +100,6 @@ return packer.startup(function(use)
        -- Treesitter
        use({
                "nvim-treesitter/nvim-treesitter",
-               run = ":TSUpdate",
        })
        use({ "p00f/nvim-ts-rainbow", requires = {
                { "nvim-treesitter/nvim-treesitter" },
index 575ecefb3edbfe09663bc56cb4f0e36f011457f7..ad5273b881e90ed859e27bc32c37609b26bc7edd 100644 (file)
@@ -1,6 +1,6 @@
 local configs = require("nvim-treesitter.configs")
 configs.setup({
-       ensure_installed = "all",
+       ensure_installed = { "python", "lua" },
        sync_install = false,
        ignore_install = { "" }, -- List of parsers to ignore installing
        highlight = {