summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-17 21:12:27 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-17 21:12:27 +0200
commit08f398ea3269ab6131300fbba2708b83a92c51dc (patch)
tree5612994bbb73227b24c32554035c29edc5923d27 /.config
parent2d917594baa898e2eea0bf4a962c96999b85605b (diff)
nvim: Add xkb support
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/ftdetect/xkb.vim1
-rw-r--r--.config/nvim/after/ftplugin/xkb.vim1
2 files changed, 2 insertions, 0 deletions
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