summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
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