aboutsummaryrefslogtreecommitdiff
path: root/editors/vim/ftplugin
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/ftplugin
parentbfbe6b74346f760598bfc07dd7e94a0b427415ab (diff)
Add Vim keymap, syntax highlighting, and some other basic settings
Diffstat (limited to 'editors/vim/ftplugin')
-rw-r--r--editors/vim/ftplugin/bqn.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/editors/vim/ftplugin/bqn.vim b/editors/vim/ftplugin/bqn.vim
new file mode 100644
index 00000000..41eb3912
--- /dev/null
+++ b/editors/vim/ftplugin/bqn.vim
@@ -0,0 +1,8 @@
+setlocal keymap=bqn
+
+setlocal commentstring=#%s
+setlocal matchpairs=(:),{:},[:],⟨:⟩
+setlocal iskeyword=@,48-57,_,^×,^÷
+setlocal ignorecase
+
+setlocal shiftwidth=2 tabstop=2 softtabstop=2