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
|
||||
{
|
||||
"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,
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue