From 96e3cd7c3ba60d9e9a15c7b13238f3bdbab186fe Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 7 Aug 2026 10:17:41 +0200 Subject: [PATCH 1/2] Add diagnostic quicfix list keybind --- templates/nvim/lua/diagnostic.lua.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/nvim/lua/diagnostic.lua.j2 b/templates/nvim/lua/diagnostic.lua.j2 index 97baa9e..9cc2c93 100644 --- a/templates/nvim/lua/diagnostic.lua.j2 +++ b/templates/nvim/lua/diagnostic.lua.j2 @@ -9,3 +9,6 @@ vim.diagnostic.config { virtual_text = { current_line = true } } + +local opts = { noremap = true, silent = true } +vim.keymap.set('n', 'q', vim.diagnostic.setloclist, opts) From 8c4676927d643f2b9fa262a202c68e37b33de8a4 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Fri, 7 Aug 2026 10:18:42 +0200 Subject: [PATCH 2/2] Add jinja & git rebase treesitter parsers --- templates/nvim/lua/tree-sitter.lua.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/nvim/lua/tree-sitter.lua.j2 b/templates/nvim/lua/tree-sitter.lua.j2 index 7f5833e..f1319e0 100644 --- a/templates/nvim/lua/tree-sitter.lua.j2 +++ b/templates/nvim/lua/tree-sitter.lua.j2 @@ -6,8 +6,8 @@ local tree_sitter_config = require('nvim-treesitter') local ensure_installed = { 'lua', 'yaml', 'bash', 'python', 'javascript', 'typescript', 'jsx', 'tsx', 'css', 'scss', - 'html', 'htmldjango', 'sql', 'json', 'dockerfile', 'markdown', 'rst', 'tmux', - 'xml', 'toml', 'editorconfig', 'diff', 'gitcommit', 'git_config', 'gitignore', + 'html', 'htmldjango', 'jinja', 'sql', 'json', 'dockerfile', 'markdown', 'rst', 'tmux', + 'xml', 'toml', 'editorconfig', 'diff', 'gitcommit', 'git_config', 'git_rebase', 'gitignore', 'gitattributes', 'make', 'nginx', 'vim', 'vimdoc', 'passwd', 'regex' }