dotfiles/home/.config/nvim/lua/pluginconf/treesitter.lua

15 lines
531 B
Lua
Raw Normal View History

require'nvim-treesitter.configs'.setup {
2022-04-25 19:30:41 +03:00
ensure_installed = {
"bash", "c", "css", "dockerfile", "html", "http", "java", "json",
"json5", "latex", "lua", "make", "markdown", "php", "python", "regex",
"rst", "scss", "toml", "tsx", "typescript", "javascript", "yaml"
},
highlight = {enable = true},
indent = {enable = true},
incremental_selection = {enable = true},
context_commentstring = {enable = true}
}
2022-04-22 09:50:18 +03:00
2022-06-07 15:55:45 +03:00
--vim.wo.foldmethod = 'expr'
--im.wo.foldexpr = 'nvim_treesitter#foldexpr()'