add gomod and gosum to ensured installed list & code formatting

This commit is contained in:
jc 2023-10-18 19:13:57 -04:00
commit 81b6f8c693
No known key found for this signature in database

View file

@ -13,7 +13,17 @@ return {
treesitter.setup {
-- A list of parser names, or "all"
ensure_installed = { "vimdoc", "javascript", "typescript", "c", "lua", "rust" },
ensure_installed = {
"vimdoc",
"javascript",
"typescript",
"c",
"lua",
"rust",
"go",
"gosum",
"gomod",
},
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
-- Automatically install missing parsers when entering buffer