diff options
author | Chris <[email protected]> | 2020-05-23 13:40:45 -0400 |
---|---|---|
committer | Chris <[email protected]> | 2020-05-23 13:40:45 -0400 |
commit | 1079af5edebaa4ca1f15ee5cab42ef2ef5b60389 (patch) | |
tree | 02304cec5936b2f91f35b5debdcc78cf913b3546 /plug-config/nerd-commenter.vim | |
parent | 264df1df7f25e9fa4c6899897ce4953c2caf53df (diff) | |
parent | 8c79cce05aee02f8453c60d605706a5ea8adc764 (diff) |
merge conflicts
Diffstat (limited to 'plug-config/nerd-commenter.vim')
-rw-r--r-- | plug-config/nerd-commenter.vim | 31 |
1 files changed, 3 insertions, 28 deletions
diff --git a/plug-config/nerd-commenter.vim b/plug-config/nerd-commenter.vim index 8b054e34..1a581a53 100644 --- a/plug-config/nerd-commenter.vim +++ b/plug-config/nerd-commenter.vim @@ -1,28 +1,3 @@ - -" nnoremap <space>/ :Commentary<CR> -" vnoremap <space>/ :Commentary<CR> - -let g:NERDCreateDefaultMappings = 0 -" Add spaces after comment delimiters by default -let g:NERDSpaceDelims = 1 - -" Use compact syntax for prettified multi-line comments -let g:NERDCompactSexyComs = 1 - -" Align line-wise comment delimiters flush left instead of following code indentation -let g:NERDDefaultAlign = 'left' - -" Set a language to use its alternate delimiters by default -let g:NERDAltDelims_java = 1 - -" Add your own custom formats or override the defaults -let g:NERDCustomDelimiters = { 'c': { 'left': '/**','right': '*/' } } - -" Allow commenting and inverting empty lines (useful when commenting a region) -let g:NERDCommentEmptyLines = 1 - -" Enable trimming of trailing whitespace when uncommenting -let g:NERDTrimTrailingWhitespace = 1 - -" Enable NERDCommenterToggle to check all selected lines is commented or not -let g:NERDToggleCheckAllLines = 1 +" nnoremap <silent> <space>/ :Commentary<CR> +vnoremap <silent> <space>/ :Commentary<CR> +autocmd FileType javascript.jsx setlocal commentstring={/*\ %s\ */} |