memgraph/tools/vim-lcp/ftplugin/lcp.vim
Teon Banek cf19bbad8f Add basic indentation to vim-lcp plugin
Reviewers: mtomic, mferencevic, msantl, buda

Reviewed By: msantl

Subscribers: pullbot

Differential Revision: https://phabricator.memgraph.io/D1718
2018-10-31 15:37:42 +01:00

14 lines
288 B
VimL

if exists("b:did_ftplugin")
finish
endif
let b:did_ftplugin = 1
setlocal lisp
setlocal lispwords+=lcp:define-class,lcp:define-struct,lcp:define-enum,lcp:define-rpc
" Veeeery basic indentation.
" TODO: This should be in the `indent` folder.
setlocal autoindent
setlocal nosmartindent