Co-authored-by: Devin Haska <wonderfulfrog@users.noreply.github.com>
This commit is contained in:
Devin Haska 2024-05-10 11:26:26 -07:00 committed by GitHub
parent 8591814ca5
commit 10e4a3af37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 564 additions and 430 deletions

View file

@ -1,26 +1,41 @@
return {
{
"nvim-treesitter/nvim-treesitter",
version = false,
build = ":TSUpdate",
config = function()
local config = require("nvim-treesitter.configs")
config.setup({
ensure_installed = { "lua", "javascript", "typescript", "tsx", "htmldjango", "html", "jsonc", "json", "jsdoc", "markdown", "markdown_inline", "vim", "vimdoc" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true }
})
end
opts = {
ensure_installed = {
"lua",
"javascript",
"typescript",
"tsx",
"htmldjango",
"html",
"jsonc",
"json",
"jsdoc",
"markdown",
"markdown_inline",
"vim",
"vimdoc",
},
highlight = { enable = true },
indent = { enable = true },
},
config = function(_, opts)
require("nvim-treesitter.configs").setup(opts)
end,
},
{
"nvim-treesitter/nvim-treesitter-context",
opts = {
max_lines = 2,
}
},
},
{
'windwp/nvim-autopairs',
event = "InsertEnter",
opts = {}
}
-- TODO: Figure out why this plugin is not working.
"windwp/nvim-autopairs",
event = "VeryLazy",
opts = {},
},
}