From d9489ed67edf4737ee92754a605484addec03781 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Fri, 22 May 2026 13:51:34 -0500 Subject: fix treesitter sync and disable indent temporarily --- lua/tjk/options.lua | 5 ++++- lua/tjk/plugins.lua | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'lua') diff --git a/lua/tjk/options.lua b/lua/tjk/options.lua index da82181..7d6376f 100644 --- a/lua/tjk/options.lua +++ b/lua/tjk/options.lua @@ -24,8 +24,11 @@ vim.o.shiftwidth = 4 -- tab key will only insert one tab vim.o.ignorecase = true -- case-insensitive search... vim.o.smartcase = true -- ...unless the search term is capital --- experimental +-- indentation +vim.o.autoindent = true vim.o.smartindent = true + +-- experimental vim.opt.wildmode = { "list:longest", "list:full" } -- Better auto-complete -- dont continue comments on to new lines (:help fo-table) diff --git a/lua/tjk/plugins.lua b/lua/tjk/plugins.lua index b1c857a..3feb0bc 100644 --- a/lua/tjk/plugins.lua +++ b/lua/tjk/plugins.lua @@ -37,8 +37,9 @@ require("minitab").setup() -- TODO "geigerzaehler/tree-sitter-jinja2", -- adds filetype for htmljinja, not recognized by ts by default. Requires gcc in path require("nvim-treesitter.configs").setup { highlight = { enable = true, disable = { "yaml", "dockerfile" } }, - indent = { enable = true, disable = { "yaml" } }, + --indent = { enable = true }, -- FIXME } +vim.g._ts_force_sync_parsing = true -- #32660 -- https://github.com/windwp/nvim-ts-autotag require("nvim-ts-autotag").setup { -- cgit v1.2.3