summaryrefslogtreecommitdiff
path: root/nvim/lua/plugins
diff options
context:
space:
mode:
author2025-04-22 20:00:40 +0300
committer2025-04-22 20:00:40 +0300
commit6553a9bd81d385241d96b5041bc90cea92daccf1 (patch)
treea525d1d89d98ef06d45fb8af0afd7dc00a36c0ef /nvim/lua/plugins
parentБыстрый выход (diff)
downloaddotfiles-6553a9bd81d385241d96b5041bc90cea92daccf1.tar.gz
dotfiles-6553a9bd81d385241d96b5041bc90cea92daccf1.tar.bz2
dotfiles-6553a9bd81d385241d96b5041bc90cea92daccf1.tar.xz
dotfiles-6553a9bd81d385241d96b5041bc90cea92daccf1.zip
Фикс Treesitter
Diffstat (limited to 'nvim/lua/plugins')
-rw-r--r--nvim/lua/plugins/treesitter.lua52
1 files changed, 47 insertions, 5 deletions
diff --git a/nvim/lua/plugins/treesitter.lua b/nvim/lua/plugins/treesitter.lua
index ff02ec4..623e808 100644
--- a/nvim/lua/plugins/treesitter.lua
+++ b/nvim/lua/plugins/treesitter.lua
@@ -1,5 +1,47 @@
-require('nvim-treesitter.configs').setup{
- ensure_installed = 'all',
- ignore_install = { 'phpdoc' },
- highlight = { enable = true }
-}
+require("nvim-treesitter.configs").setup({
+ highlight = { enable = true },
+ ensure_installed = {
+ "c",
+ "lua",
+ "python",
+ "bash",
+ "go",
+ "html",
+ "css",
+ "javascript",
+ "typescript",
+ "git_config",
+ "git_rebase",
+ "gitattributes",
+ "gitcommit",
+ "gitignore",
+ "gomod",
+ "gosum",
+ "gotmpl",
+ "gowork",
+ "hjson",
+ "ini",
+ "json",
+ "json5",
+ "jsonnet",
+ "latex",
+ "make",
+ "markdown",
+ "markdown_inline",
+ "nginx",
+ "proto",
+ "rust",
+ "templ",
+ "todotxt",
+ "toml",
+ "tsx",
+ "typescript",
+ "vim",
+ "vimdoc",
+ "xml",
+ "yaml",
+ "sql",
+ "ssh_config",
+ },
+ ignore_install = { "gdhsader", "phpdoc" },
+})