summaryrefslogtreecommitdiff
path: root/ftplugin/scheme.vim
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-02-15 08:52:32 +0000
committerAkshay <[email protected]>2021-02-15 08:52:32 +0000
commitfcaf13a267b7bacd26ad8b2e952a793645e42bba (patch)
tree6e795b46b1fbefb05151e95c0346951d67fac4e7 /ftplugin/scheme.vim
init
Diffstat (limited to 'ftplugin/scheme.vim')
-rw-r--r--ftplugin/scheme.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/ftplugin/scheme.vim b/ftplugin/scheme.vim
new file mode 100644
index 0000000..4af180c
--- /dev/null
+++ b/ftplugin/scheme.vim
@@ -0,0 +1,17 @@
1setlocal tabstop=2
2setlocal softtabstop=2
3setlocal shiftwidth=2
4setlocal expandtab
5setlocal autoindent
6setlocal smarttab
7setlocal formatoptions=croql
8
9setlocal makeprg=guile-lint
10
11augroup SchemeLint
12 autocmd!
13 autocmd BufWritePost *.scm silent make! <afile> | silent redraw
14 autocmd QuickFixCmdPost [^l]* cwindow
15augroup END
16
17CocDisable