aboutsummaryrefslogtreecommitdiff
path: root/editors/vim/ftdetect/bqn.vim
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-24 16:54:21 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-07-24 17:59:05 -0400
commitaab818bf420170e7e760d3afe4e657fa4eacd8b4 (patch)
treeecb171d97a2dfa5db2cd9a1dfce6870283dca06d /editors/vim/ftdetect/bqn.vim
parentbfbe6b74346f760598bfc07dd7e94a0b427415ab (diff)
Add Vim keymap, syntax highlighting, and some other basic settings
Diffstat (limited to 'editors/vim/ftdetect/bqn.vim')
-rw-r--r--editors/vim/ftdetect/bqn.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/vim/ftdetect/bqn.vim b/editors/vim/ftdetect/bqn.vim
new file mode 100644
index 00000000..97f7d548
--- /dev/null
+++ b/editors/vim/ftdetect/bqn.vim
@@ -0,0 +1,2 @@
+au BufRead,BufNewFile *.bqn setf bqn
+au BufRead,BufNewFile * if getline(1) =~ '^#!.*bqn$' | setf bqn | endif