From cf19bbad8fa5fec1ca6cd01fc98ff2ccf5696f1f Mon Sep 17 00:00:00 2001 From: Teon Banek Date: Wed, 31 Oct 2018 14:59:51 +0100 Subject: [PATCH] Add basic indentation to vim-lcp plugin Reviewers: mtomic, mferencevic, msantl, buda Reviewed By: msantl Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1718 --- tools/vim-lcp/ftplugin/lcp.vim | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tools/vim-lcp/ftplugin/lcp.vim diff --git a/tools/vim-lcp/ftplugin/lcp.vim b/tools/vim-lcp/ftplugin/lcp.vim new file mode 100644 index 000000000..f8b2eadbc --- /dev/null +++ b/tools/vim-lcp/ftplugin/lcp.vim @@ -0,0 +1,13 @@ +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