summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/nvim/ftdetect/sld.vim2
-rw-r--r--nvim/nvim/ftplugin/scheme.vim2
2 files changed, 4 insertions, 0 deletions
diff --git a/nvim/nvim/ftdetect/sld.vim b/nvim/nvim/ftdetect/sld.vim
new file mode 100644
index 0000000..bc847e5
--- /dev/null
+++ b/nvim/nvim/ftdetect/sld.vim
@@ -0,0 +1,2 @@
+" Understand .sld as scheme
+autocmd BufNewFile,BufRead *.sld set ft=scheme
diff --git a/nvim/nvim/ftplugin/scheme.vim b/nvim/nvim/ftplugin/scheme.vim
index 42a2dee..7f01239 100644
--- a/nvim/nvim/ftplugin/scheme.vim
+++ b/nvim/nvim/ftplugin/scheme.vim
@@ -4,6 +4,8 @@ syn keyword schemeSyntax λ
setlocal tabstop=2 softtabstop=0 expandtab shiftwidth=2
setlocal autoindent
+setlocal lisp
+setlocal showmatch
" Syncronize syntax from the beginning of the file
:syntax sync fromstart