summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-31 16:25:24 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-31 16:25:24 +0200
commit373bccce0f87530af7aecba4f1f54696ce39d1fa (patch)
tree7b6d8e1d1600aebf8c597f32c158ac3d2d240140 /.config/nvim
parent8b556220a55272a388e7208c2356e6c1637dfca5 (diff)
nvim: Autodetect ft for ebnf files
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/ftdetect/ebnf.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/after/ftdetect/ebnf.vim b/.config/nvim/after/ftdetect/ebnf.vim
new file mode 100644
index 0000000..c60668e
--- /dev/null
+++ b/.config/nvim/after/ftdetect/ebnf.vim
@@ -0,0 +1 @@
+autocmd BufRead,BufNewFile *.ebnf setfiletype ebnf