From 440ded63c51ac32ce95ce7fe9d64412e0a4ce82f Mon Sep 17 00:00:00 2001 From: Lavender Date: Fri, 30 Apr 2021 22:59:11 -0700 Subject: [PATCH] Treesitter was broken so I replaced it --- .config/nvim/lua/plugins.lua | 32 ++------------------------------ 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/.config/nvim/lua/plugins.lua b/.config/nvim/lua/plugins.lua index 32cfd290..67c0b703 100644 --- a/.config/nvim/lua/plugins.lua +++ b/.config/nvim/lua/plugins.lua @@ -9,33 +9,7 @@ require("packer").startup({{ }, -- syntax parsing - { - "nvim-treesitter/nvim-treesitter", - run = ":TSUpdate", - config = function() - require("nvim-treesitter.configs").setup({ - ensure_installed = "maintained", - autopairs = { - enable = true, - }, - highlight = { - enable = true, - }, - incremental_selection = { - enable = true, - keymaps = { - init_selection = "gnn", - node_incremental = "grn", - scope_incremental = "grc", - node_decremental = "grm", - }, - }, - indent = { - enable = true, - }, - }) - end, - }, + "sheerun/vim-polyglot", -- underlines all words that match the word under the cursor "yamatsum/nvim-cursorline", @@ -76,9 +50,7 @@ require("packer").startup({{ { "windwp/nvim-autopairs", config = function() - require("nvim-autopairs").setup({ - check_ts = true, - }) + require("nvim-autopairs").setup() end, },