/
alkis
/
nvim
Обзор
Документация
Войти
/
alkis
/
nvim
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lua/plugins/nvim-treesitter.lua
58 строк
1 KB
avkis
Last changes
30 июн 2025, 06:49
30 июн 2025, 06:49
dce13aa
Код
Авторство
О чём код?
return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", config = function() local configs = require("nvim-treesitter.configs") configs.setup({ ensure_installed = { "c", "lua", "luadoc", "luap", "vim", "vimdoc", "json", "query", "elixir", "heex", "go", "gotmpl", "gomod", "gowork", "gosum", "proto", "terraform", "python", "javascript", "typescript", "tsx", "html", "helm", "css", "make", "markdown", "markdown_inline", "yaml", "regex", }, auto_install = true, sync_install = false, highlight = { enable = true, additional_vim_regex_highlighting = false, }, indent = { enable = true }, incremental_selection = { enable = true, keymaps = { init_selection = "<Enter>", -- set to `false` to disable one of the mappings node_incremental = "<Enter>", scope_incremental = false, node_decremental = "<Backspace>", }, }, }) end, }