This commit is contained in:
newbie 2024-01-28 16:12:42 +08:00
parent 81483d4a44
commit 04d2ed31d8
2 changed files with 15 additions and 7 deletions

View File

@ -238,13 +238,13 @@ return {
config = function() config = function()
local treesitter_opt = { local treesitter_opt = {
ensure_installed = { ensure_installed = {
"c", -- "c",
"cpp", -- "cpp",
"python", -- "python",
"java", -- "java",
"lua", -- "lua",
"bash", -- "bash",
"vimdoc", -- "vimdoc",
}, },
indent = { enable = true }, indent = { enable = true },
ignore_install = { ignore_install = {

View File

@ -10,5 +10,13 @@
" $1", " $1",
"}" "}"
] ]
},
"init": {
"prefix": "init",
"body": [
"func init() {",
" $1",
"}"
]
} }
} }