diff options
author | Teddy Wing | 2019-09-02 21:31:06 +0200 |
---|---|---|
committer | Teddy Wing | 2019-09-02 21:42:25 +0200 |
commit | aa9fadda4b29a33ccc150d687a9b9eed21704e31 (patch) | |
tree | 8f0f7a4f29f57e17266f56123c7fe264a87ba7ce | |
parent | edfc3b2488c8fcdb0bd435c9dd046427bfecf24b (diff) | |
download | dotvim-aa9fadda4b29a33ccc150d687a9b9eed21704e31.tar.bz2 |
projects/aodocs.vim: Add comment leader 'formatoptions'
Automatically insert the comment leader to facilitate JSDoc comments.
-rw-r--r-- | projects/aodocs.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/projects/aodocs.vim b/projects/aodocs.vim index 9cba95b..11e6721 100644 --- a/projects/aodocs.vim +++ b/projects/aodocs.vim @@ -9,6 +9,7 @@ augroup AODocs autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS/*.js \ setlocal expandtab tabstop=2 softtabstop=2 shiftwidth=2 + \ formatoptions+=cro autocmd BufRead,BufEnter $VIM_PROJECT_PATH_AODOCS/*.json \ setlocal expandtab tabstop=4 softtabstop=4 shiftwidth=4 |