Treesitter was broken so I replaced it

This commit is contained in:
Lavender 2021-04-30 22:59:11 -07:00
parent b402b22a75
commit 440ded63c5
Signed by: endie
GPG key ID: CC5162D7C2146F01

View file

@ -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,
},