neovim

Personal neovim configuration files
git clone git://gtms.dev/neovim
Log | Files | Refs

commit 5a1f6b2e006353dbba7b6e0f67522928e40b34a8
parent 7b60b6a57c8c97e5e8ee78733d3b612c6146cb4b
Author: Tomas Nemec <owl@gtms.dev>
Date:   Thu,  1 May 2025 11:18:43 +0200

update

Diffstat:
Mafter/plugin/qmk.lua | 21+++++++++++++++++++++
1 file changed, 21 insertions(+), 0 deletions(-)

diff --git a/after/plugin/qmk.lua b/after/plugin/qmk.lua @@ -42,6 +42,27 @@ if pcall(require, 'qmk') then }) end, }) + + vim.api.nvim_create_autocmd('BufEnter', { + desc = 'Planck', + group = group, + pattern = '*/framework/ansi/*keymap.c', + callback = function() + require('qmk').setup({ + name = 'LAYOUT', + auto_format_pattern = '*/framework/ansi/*keymap.c', + layout = { + 'x x x x x x x x x x x x x x', + 'x x x x x x x x x x x x x x', + 'x x x x x x x x x x x x x x', + 'x x x x x x x x x x x x _ x', + 'x _ x x x x x x x x x x _ x', + 'x x x x _ x _ _ x x x x x x', + }, + comment_preview = { keymap_overrides = { XXXXXXX = 'XX', KC_NO = 'XX' } }, + }) + end, + }) end if pcall(require, 'cmp') then