summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2021-01-13 23:43:13 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2021-01-13 23:48:04 +0100
commit41717087140756dc7d30d16c41e72b0b32563444 (patch)
treeb4cf7b2679fe5918ac5fff01306954df99477a96
parent45503702fdb366ad643f4827e50c0df7cf93980e (diff)
Vim: Scheme config
-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