From c7f05a0f47e669148b9b97d18afafead1c767a3b Mon Sep 17 00:00:00 2001 From: Sebastian Studniczek Date: Fri, 10 Apr 2026 20:05:50 +0200 Subject: [PATCH 1/3] Add indentation fallback --- init.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index cacc5b7b..9f008fa5 100644 --- a/init.lua +++ b/init.lua @@ -891,8 +891,12 @@ require('lazy').setup({ -- vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()' -- vim.wo.foldmethod = 'expr' + -- check if treesitter indentation is available for this language, and if so enable it + -- in case there is no indent query, the indentexpr will fallback to the vim's built in one + local has_indent_query = vim.treesitter.query.get(language, 'indent') ~= nil + -- enables treesitter based indentation - vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" + if has_indent_query then vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" end end local available_parsers = require('nvim-treesitter').get_available() From f27810d1bd48d7b4cfb319a9ff290f5b09200a78 Mon Sep 17 00:00:00 2001 From: orip Date: Wed, 15 Apr 2026 03:44:13 +0300 Subject: [PATCH 2/3] Fix treesitter indents Thanks @jackHerby for the report fixes #1995 --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 9f008fa5..b56ce298 100644 --- a/init.lua +++ b/init.lua @@ -893,7 +893,7 @@ require('lazy').setup({ -- check if treesitter indentation is available for this language, and if so enable it -- in case there is no indent query, the indentexpr will fallback to the vim's built in one - local has_indent_query = vim.treesitter.query.get(language, 'indent') ~= nil + local has_indent_query = vim.treesitter.query.get(language, 'indents') ~= nil -- enables treesitter based indentation if has_indent_query then vim.bo.indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()" end From 648471c9eb1f757729e800ff0a6509e01232a8e9 Mon Sep 17 00:00:00 2001 From: Stattek <107233826+Stattek@users.noreply.github.com> Date: Wed, 15 Apr 2026 03:49:09 -0500 Subject: [PATCH 3/3] Fix descriptions of gitsigns keymappings (#1997) * Fix descriptions of keymappings * Fix capitalization --- lua/kickstart/plugins/gitsigns.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/kickstart/plugins/gitsigns.lua b/lua/kickstart/plugins/gitsigns.lua index 1d8c50c3..500ea6c4 100644 --- a/lua/kickstart/plugins/gitsigns.lua +++ b/lua/kickstart/plugins/gitsigns.lua @@ -50,11 +50,11 @@ return { map('n', 'hb', function() gitsigns.blame_line { full = true } end, { desc = 'git [b]lame line' }) map('n', 'hd', gitsigns.diffthis, { desc = 'git [d]iff against index' }) map('n', 'hD', function() gitsigns.diffthis '@' end, { desc = 'git [D]iff against last commit' }) - map('n', 'hQ', function() gitsigns.setqflist 'all' end) - map('n', 'hq', gitsigns.setqflist) + map('n', 'hQ', function() gitsigns.setqflist 'all' end, { desc = 'git hunk [Q]uickfix list (all files in repo)' }) + map('n', 'hq', gitsigns.setqflist, { desc = 'git hunk [q]uickfix list (all changes in this file)' }) -- Toggles map('n', 'tb', gitsigns.toggle_current_line_blame, { desc = '[T]oggle git show [b]lame line' }) - map('n', 'tw', gitsigns.toggle_word_diff) + map('n', 'tw', gitsigns.toggle_word_diff, { desc = '[T]oggle git intra-line [w]ord diff' }) -- Text object map({ 'o', 'x' }, 'ih', gitsigns.select_hunk)