Add basic indentation to vim-lcp plugin
Reviewers: mtomic, mferencevic, msantl, buda Reviewed By: msantl Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1718
This commit is contained in:
parent
4f0a7df4bb
commit
cf19bbad8f
13
tools/vim-lcp/ftplugin/lcp.vim
Normal file
13
tools/vim-lcp/ftplugin/lcp.vim
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user