summaryrefslogtreecommitdiff
path: root/lua/tjk/plugins/treesitter.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tjk/plugins/treesitter.lua')
-rw-r--r--lua/tjk/plugins/treesitter.lua31
1 files changed, 0 insertions, 31 deletions
diff --git a/lua/tjk/plugins/treesitter.lua b/lua/tjk/plugins/treesitter.lua
deleted file mode 100644
index a73d6e7..0000000
--- a/lua/tjk/plugins/treesitter.lua
+++ /dev/null
@@ -1,31 +0,0 @@
-return {
- "nvim-treesitter/nvim-treesitter",
- build = ":TSUpdate",
- dependencies = {
- --{
- -- "nvim-treesitter/playground", -- inspect treesitter structure
- -- cmd = "TSPlaygroundToggle"
- --},
- "geigerzaehler/tree-sitter-jinja2", -- adds filetype for htmljinja, not recognized by ts by default. Requires gcc in path
- "HiPhish/rainbow-delimiters.nvim", -- colored delimiters per scope level
- {
- "windwp/nvim-ts-autotag", -- close tags in html/xml type languages
- opts = {
- per_filetype = {
- ["html"] = { enable_close = true },
- }
- }
- },
- },
- config = function()
- local configs = require("nvim-treesitter.configs")
- configs.setup({
- ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "comment",
- "javascript", "jinja2", "html", "css", "scss", "python", "php" },
- auto_install = true, -- install available parsers when entering new buffers
- highlight = { enable = true, disable = { "yaml", "dockerfile" } },
- indent = { enable = true, disable = { "yaml" } },
- --playground = { enable = true }, -- treesitter debug
- })
- end
-}