diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2026-05-22 13:51:34 -0500 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2026-05-22 13:51:34 -0500 |
| commit | d9489ed67edf4737ee92754a605484addec03781 (patch) | |
| tree | 35911ca9c3356f67161fdf620e973fc8a349be28 /lua | |
| parent | d7471c58485cc90aea53d8a5935e46d347f43b8c (diff) | |
| download | nvim-d9489ed67edf4737ee92754a605484addec03781.tar.xz nvim-d9489ed67edf4737ee92754a605484addec03781.zip | |
fix treesitter sync and disable indent temporarily
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/tjk/options.lua | 5 | ||||
| -rw-r--r-- | lua/tjk/plugins.lua | 3 |
2 files changed, 6 insertions, 2 deletions
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 { |
