From 41717087140756dc7d30d16c41e72b0b32563444 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 13 Jan 2021 23:43:13 +0100 Subject: Vim: Scheme config --- nvim/nvim/ftdetect/sld.vim | 2 ++ nvim/nvim/ftplugin/scheme.vim | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 nvim/nvim/ftdetect/sld.vim (limited to 'nvim') 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 -- cgit v1.2.3