mirror of
https://github.com/amix/vimrc
synced 2025-07-27 23:45:00 +08:00
Add support for Scheme and Racket language.
This commit is contained in:
24
sources_non_forked/slimv/indent/scheme.vim
Normal file
24
sources_non_forked/slimv/indent/scheme.vim
Normal file
@ -0,0 +1,24 @@
|
||||
" scheme.vim:
|
||||
" Scheme indent plugin for Slimv
|
||||
" Version: 0.9.14
|
||||
" Last Change: 26 Feb 2021
|
||||
" Maintainer: Tamas Kovacs <kovisoft at gmail dot com>
|
||||
" License: This file is placed in the public domain.
|
||||
" No warranty, express or implied.
|
||||
" *** *** Use At-Your-Own-Risk! *** ***
|
||||
"
|
||||
" =====================================================================
|
||||
"
|
||||
" Load Once:
|
||||
if exists("b:did_indent") || exists("g:slimv_disable_scheme") ||
|
||||
\ (exists("g:slimv_indent_disable") && g:slimv_indent_disable)
|
||||
finish
|
||||
endif
|
||||
|
||||
let b:did_indent = 1
|
||||
|
||||
setlocal nolisp
|
||||
setlocal autoindent
|
||||
setlocal expandtab
|
||||
setlocal indentexpr=SlimvIndent(v:lnum)
|
||||
|
Reference in New Issue
Block a user