summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/tjk/options.lua5
-rw-r--r--lua/tjk/plugins.lua3
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 {