2023-04-12 18:09:30 +00:00
|
|
|
require("nvim-treesitter.configs").setup({
|
2023-04-09 16:13:55 +00:00
|
|
|
ensure_installed = {
|
|
|
|
"lua",
|
|
|
|
"markdown",
|
|
|
|
"markdown_inline",
|
|
|
|
"bash",
|
|
|
|
"python",
|
|
|
|
"go",
|
|
|
|
"gomod",
|
|
|
|
"gowork",
|
|
|
|
"json",
|
|
|
|
"yaml",
|
|
|
|
},
|
2022-10-01 11:46:18 +00:00
|
|
|
highlight = {
|
2022-10-08 10:44:11 +00:00
|
|
|
enable = true,
|
|
|
|
disable = { "css" },
|
2022-10-01 11:46:18 +00:00
|
|
|
},
|
|
|
|
autopairs = {
|
|
|
|
enable = true,
|
|
|
|
},
|
2023-04-09 16:13:55 +00:00
|
|
|
indent = {
|
|
|
|
enable = true,
|
|
|
|
disable = { "python", "css" },
|
|
|
|
},
|
2022-10-08 10:44:11 +00:00
|
|
|
context_commentstring = {
|
|
|
|
enable = true,
|
|
|
|
enable_autocmd = false,
|
|
|
|
},
|
2022-10-01 11:46:18 +00:00
|
|
|
})
|