From 7bb76288d4c8edf162c24f20fc939bff289857bf Mon Sep 17 00:00:00 2001 From: mitermayer Date: Fri, 4 May 2018 12:49:42 -0700 Subject: Simple heading comments --- autoload/prettier.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'autoload/prettier.vim') diff --git a/autoload/prettier.vim b/autoload/prettier.vim index a25459d..63a72d2 100644 --- a/autoload/prettier.vim +++ b/autoload/prettier.vim @@ -13,6 +13,7 @@ let s:prettier_job_running = 0 +" Displays the resolve prettier CLI path function! prettier#PrettierCliPath() abort let l:execCmd = prettier#resolver#executable#getPath() @@ -23,6 +24,7 @@ function! prettier#PrettierCliPath() abort endif endfunction +" Allows user commands to be passed straight to the prettier CLI function! prettier#PrettierCli(user_input) abort let l:execCmd = prettier#resolver#executable#getPath() @@ -34,6 +36,7 @@ function! prettier#PrettierCli(user_input) abort endif endfunction +" Main prettier command function! prettier#Prettier(...) abort let l:execCmd = prettier#resolver#executable#getPath() let l:async = a:0 > 0 ? a:1 : 0 -- cgit v1.3