Treesitter was broken so I replaced it
This commit is contained in:
parent
b402b22a75
commit
440ded63c5
1 changed files with 2 additions and 30 deletions
|
@ -9,33 +9,7 @@ require("packer").startup({{
|
||||||
},
|
},
|
||||||
|
|
||||||
-- syntax parsing
|
-- syntax parsing
|
||||||
{
|
"sheerun/vim-polyglot",
|
||||||
"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,
|
|
||||||
},
|
|
||||||
|
|
||||||
-- underlines all words that match the word under the cursor
|
-- underlines all words that match the word under the cursor
|
||||||
"yamatsum/nvim-cursorline",
|
"yamatsum/nvim-cursorline",
|
||||||
|
@ -76,9 +50,7 @@ require("packer").startup({{
|
||||||
{
|
{
|
||||||
"windwp/nvim-autopairs",
|
"windwp/nvim-autopairs",
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-autopairs").setup({
|
require("nvim-autopairs").setup()
|
||||||
check_ts = true,
|
|
||||||
})
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue