From 08f398ea3269ab6131300fbba2708b83a92c51dc Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 17 Aug 2024 21:12:27 +0200 Subject: nvim: Add xkb support --- .config/nvim/after/ftdetect/xkb.vim | 1 + .config/nvim/after/ftplugin/xkb.vim | 1 + 2 files changed, 2 insertions(+) create mode 100644 .config/nvim/after/ftdetect/xkb.vim create mode 100644 .config/nvim/after/ftplugin/xkb.vim (limited to '.config/nvim') diff --git a/.config/nvim/after/ftdetect/xkb.vim b/.config/nvim/after/ftdetect/xkb.vim new file mode 100644 index 0000000..75a33de --- /dev/null +++ b/.config/nvim/after/ftdetect/xkb.vim @@ -0,0 +1 @@ +autocmd BufRead,BufNewFile .xkb/symbols/* setfiletype xkb diff --git a/.config/nvim/after/ftplugin/xkb.vim b/.config/nvim/after/ftplugin/xkb.vim new file mode 100644 index 0000000..9cb4ab3 --- /dev/null +++ b/.config/nvim/after/ftplugin/xkb.vim @@ -0,0 +1 @@ +setlocal commentstring=//\ %s -- cgit v1.2.3