mirror of
https://github.com/preservim/nerdcommenter.git
synced 2025-11-09 18:23:48 -05:00
Merge remote-tracking branch 'upstream/master'
Ignored changes in other README!
This commit is contained in:
@@ -22,7 +22,7 @@ Comment functions so powerful—no comment necessary.
|
|||||||
|
|
||||||
1. Add `NeoBundle 'scrooloose/nerdcommenter'` to your vimrc file.
|
1. Add `NeoBundle 'scrooloose/nerdcommenter'` to your vimrc file.
|
||||||
2. Reload your vimrc or restart
|
2. Reload your vimrc or restart
|
||||||
3. Run `:NeoUpdate``
|
3. Run `:NeoUpdate`
|
||||||
|
|
||||||
#### [Pathogen](https://github.com/tpope/vim-pathogen)
|
#### [Pathogen](https://github.com/tpope/vim-pathogen)
|
||||||
|
|
||||||
@@ -94,6 +94,9 @@ let g:NERDCommentEmptyLines = 1
|
|||||||
|
|
||||||
" Enable trimming of trailing whitespace when uncommenting
|
" Enable trimming of trailing whitespace when uncommenting
|
||||||
let g:NERDTrimTrailingWhitespace = 1
|
let g:NERDTrimTrailingWhitespace = 1
|
||||||
|
|
||||||
|
" Enable NERDCommenterToggle to check all selected lines is commented or not
|
||||||
|
let g:NERDToggleCheckAllLines = 1
|
||||||
```
|
```
|
||||||
|
|
||||||
### Default mappings
|
### Default mappings
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
" Description: vim global plugin that provides easy code commenting
|
" Description: vim global plugin that provides easy code commenting
|
||||||
" Author: Martin Grenfell <martin.grenfell at gmail dot com>
|
" Author: Martin Grenfell <martin.grenfell at gmail dot com>
|
||||||
" Maintainer: Caleb Maclennan <caleb@alerque.com>
|
" Maintainer: Caleb Maclennan <caleb@alerque.com>
|
||||||
" Version: 2.4.0
|
" Version: 2.5.1
|
||||||
" Last Change: Tue May 24 14:03:29 EEST 2016
|
" Last Change: Tue Nov 7 10:45:53 +03 2017
|
||||||
" License: This program is free software. It comes without any warranty,
|
" License: This program is free software. It comes without any warranty,
|
||||||
" to the extent permitted by applicable law. You can redistribute
|
" to the extent permitted by applicable law. You can redistribute
|
||||||
" it and/or modify it under the terms of the Do What The Fuck You
|
" it and/or modify it under the terms of the Do What The Fuck You
|
||||||
@@ -58,6 +58,8 @@ call s:InitVariable("g:NERDRPlace", "<]")
|
|||||||
call s:InitVariable("g:NERDSpaceDelims", 0)
|
call s:InitVariable("g:NERDSpaceDelims", 0)
|
||||||
call s:InitVariable("g:NERDDefaultAlign", "none")
|
call s:InitVariable("g:NERDDefaultAlign", "none")
|
||||||
call s:InitVariable("g:NERDTrimTrailingWhitespace", 0)
|
call s:InitVariable("g:NERDTrimTrailingWhitespace", 0)
|
||||||
|
call s:InitVariable("g:NERDToggleCheckAllLines", 0)
|
||||||
|
call s:InitVariable("g:NERDDisableTabsInBlockComm", 0)
|
||||||
|
|
||||||
let s:NERDFileNameEscape="[]#*$%'\" ?`!&();<>\\"
|
let s:NERDFileNameEscape="[]#*$%'\" ?`!&();<>\\"
|
||||||
|
|
||||||
@@ -75,6 +77,7 @@ let s:delimiterMap = {
|
|||||||
\ 'ansible': { 'left': '#' },
|
\ 'ansible': { 'left': '#' },
|
||||||
\ 'apache': { 'left': '#' },
|
\ 'apache': { 'left': '#' },
|
||||||
\ 'apachestyle': { 'left': '#' },
|
\ 'apachestyle': { 'left': '#' },
|
||||||
|
\ 'apdl': { 'left': '!' },
|
||||||
\ 'applescript': { 'left': '--', 'leftAlt': '(*', 'rightAlt': '*)' },
|
\ 'applescript': { 'left': '--', 'leftAlt': '(*', 'rightAlt': '*)' },
|
||||||
\ 'armasm': { 'left': ';' },
|
\ 'armasm': { 'left': ';' },
|
||||||
\ 'asciidoc': { 'left': '//' },
|
\ 'asciidoc': { 'left': '//' },
|
||||||
@@ -135,7 +138,7 @@ let s:delimiterMap = {
|
|||||||
\ 'desktop': { 'left': '#' },
|
\ 'desktop': { 'left': '#' },
|
||||||
\ 'dhcpd': { 'left': '#' },
|
\ 'dhcpd': { 'left': '#' },
|
||||||
\ 'diff': { 'left': '#' },
|
\ 'diff': { 'left': '#' },
|
||||||
\ 'django': { 'left': '<!--', 'right': '-->', 'leftAlt': '{#', 'rightAlt': '#}' },
|
\ 'django': { 'left': '{% comment %}', 'right': '{% endcomment %}', 'leftAlt': '{#', 'rightAlt': '#}' },
|
||||||
\ 'dns': { 'left': ';' },
|
\ 'dns': { 'left': ';' },
|
||||||
\ 'docbk': { 'left': '<!--', 'right': '-->' },
|
\ 'docbk': { 'left': '<!--', 'right': '-->' },
|
||||||
\ 'dockerfile': { 'left': '#' },
|
\ 'dockerfile': { 'left': '#' },
|
||||||
@@ -163,6 +166,7 @@ let s:delimiterMap = {
|
|||||||
\ 'exports': { 'left': '#' },
|
\ 'exports': { 'left': '#' },
|
||||||
\ 'factor': { 'left': '! ', 'leftAlt': '!# ' },
|
\ 'factor': { 'left': '! ', 'leftAlt': '!# ' },
|
||||||
\ 'fancy': { 'left': '#' },
|
\ 'fancy': { 'left': '#' },
|
||||||
|
\ 'faust': { 'left': '//' },
|
||||||
\ 'fgl': { 'left': '#' },
|
\ 'fgl': { 'left': '#' },
|
||||||
\ 'focexec': { 'left': '-*' },
|
\ 'focexec': { 'left': '-*' },
|
||||||
\ 'form': { 'left': '*' },
|
\ 'form': { 'left': '*' },
|
||||||
@@ -197,7 +201,7 @@ let s:delimiterMap = {
|
|||||||
\ 'h': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'h': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
\ 'haml': { 'left': '-#', 'leftAlt': '/' },
|
\ 'haml': { 'left': '-#', 'leftAlt': '/' },
|
||||||
\ 'handlebars': { 'left': '{{!-- ', 'right': ' --}}' },
|
\ 'handlebars': { 'left': '{{!-- ', 'right': ' --}}' },
|
||||||
\ 'haskell': { 'left': '{-', 'right': '-}', 'nested': 1, 'leftAlt': '--', 'nestedAlt': 1 },
|
\ 'haskell': { 'left': '--', 'nested': 0, 'leftAlt': '{-', 'rightAlt': '-}', 'nestedAlt': 1 },
|
||||||
\ 'haxe': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'haxe': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
\ 'hb': { 'left': '#' },
|
\ 'hb': { 'left': '#' },
|
||||||
\ 'hbs': { 'left': '{{!-- ', 'right': ' --}}' },
|
\ 'hbs': { 'left': '{{!-- ', 'right': ' --}}' },
|
||||||
@@ -206,7 +210,7 @@ let s:delimiterMap = {
|
|||||||
\ 'hog': { 'left': '#' },
|
\ 'hog': { 'left': '#' },
|
||||||
\ 'hostsaccess': { 'left': '#' },
|
\ 'hostsaccess': { 'left': '#' },
|
||||||
\ 'htmlcheetah': { 'left': '##' },
|
\ 'htmlcheetah': { 'left': '##' },
|
||||||
\ 'htmldjango': { 'left': '<!--', 'right': '-->', 'leftAlt': '{#', 'rightAlt': '#}' },
|
\ 'htmldjango': { 'left': '{% comment %}', 'right': '{% endcomment %}', 'leftAlt': '{#', 'rightAlt': '#}' },
|
||||||
\ 'htmlos': { 'left': '#', 'right': '/#' },
|
\ 'htmlos': { 'left': '#', 'right': '/#' },
|
||||||
\ 'hxml': { 'left': '#' },
|
\ 'hxml': { 'left': '#' },
|
||||||
\ 'hyphy': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'hyphy': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
@@ -232,6 +236,7 @@ let s:delimiterMap = {
|
|||||||
\ 'jproperties': { 'left': '#' },
|
\ 'jproperties': { 'left': '#' },
|
||||||
\ 'jsp': { 'left': '<%--', 'right': '--%>' },
|
\ 'jsp': { 'left': '<%--', 'right': '--%>' },
|
||||||
\ 'julia': { 'left': '# ', 'leftAlt': '#=', 'rightAlt': '=#' },
|
\ 'julia': { 'left': '# ', 'leftAlt': '#=', 'rightAlt': '=#' },
|
||||||
|
\ 'kivy': { 'left': '#' },
|
||||||
\ 'kix': { 'left': ';' },
|
\ 'kix': { 'left': ';' },
|
||||||
\ 'kscript': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'kscript': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
\ 'lace': { 'left': '--' },
|
\ 'lace': { 'left': '--' },
|
||||||
@@ -273,7 +278,6 @@ let s:delimiterMap = {
|
|||||||
\ 'mkd': { 'left': '<!---', 'right': '-->' },
|
\ 'mkd': { 'left': '<!---', 'right': '-->' },
|
||||||
\ 'mma': { 'left': '(*', 'right': '*)' },
|
\ 'mma': { 'left': '(*', 'right': '*)' },
|
||||||
\ 'model': { 'left': '$', 'right': '$' },
|
\ 'model': { 'left': '$', 'right': '$' },
|
||||||
\ 'moduala.': { 'left': '(*', 'right': '*)' },
|
|
||||||
\ 'modula2': { 'left': '(*', 'right': '*)' },
|
\ 'modula2': { 'left': '(*', 'right': '*)' },
|
||||||
\ 'modula3': { 'left': '(*', 'right': '*)' },
|
\ 'modula3': { 'left': '(*', 'right': '*)' },
|
||||||
\ 'molpro': { 'left': '!' },
|
\ 'molpro': { 'left': '!' },
|
||||||
@@ -328,6 +332,7 @@ let s:delimiterMap = {
|
|||||||
\ 'povini': { 'left': ';' },
|
\ 'povini': { 'left': ';' },
|
||||||
\ 'ppd': { 'left': '%' },
|
\ 'ppd': { 'left': '%' },
|
||||||
\ 'ppwiz': { 'left': ';;' },
|
\ 'ppwiz': { 'left': ';;' },
|
||||||
|
\ 'praat': { 'left': '#' },
|
||||||
\ 'privoxy': { 'left': '#' },
|
\ 'privoxy': { 'left': '#' },
|
||||||
\ 'processing': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'processing': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
\ 'prolog': { 'left': '%', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'prolog': { 'left': '%', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
@@ -346,13 +351,15 @@ let s:delimiterMap = {
|
|||||||
\ 'rebol': { 'left': ';' },
|
\ 'rebol': { 'left': ';' },
|
||||||
\ 'registry': { 'left': ';' },
|
\ 'registry': { 'left': ';' },
|
||||||
\ 'remind': { 'left': '#' },
|
\ 'remind': { 'left': '#' },
|
||||||
|
\ 'renpy': { 'left': '# ' },
|
||||||
\ 'resolv': { 'left': '#' },
|
\ 'resolv': { 'left': '#' },
|
||||||
\ 'rgb': { 'left': '!' },
|
\ 'rgb': { 'left': '!' },
|
||||||
\ 'rib': { 'left': '#' },
|
\ 'rib': { 'left': '#' },
|
||||||
\ 'rmd': { 'left': '#' },
|
\ 'rmd': { 'left': '#' },
|
||||||
|
\ 'robot': { 'left': '#' },
|
||||||
\ 'robots': { 'left': '#' },
|
\ 'robots': { 'left': '#' },
|
||||||
\ 'rspec': { 'left': '#' },
|
\ 'rspec': { 'left': '#' },
|
||||||
\ 'ruby': { 'left': '#', 'leftAlt': '=begin', 'rightAlt': '=end' },
|
\ 'ruby': { 'left': '#' },
|
||||||
\ 'rust': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'rust': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
\ 'sa': { 'left': '--' },
|
\ 'sa': { 'left': '--' },
|
||||||
\ 'samba': { 'left': ';', 'leftAlt': '#' },
|
\ 'samba': { 'left': ';', 'leftAlt': '#' },
|
||||||
@@ -364,6 +371,7 @@ let s:delimiterMap = {
|
|||||||
\ 'scons': { 'left': '#' },
|
\ 'scons': { 'left': '#' },
|
||||||
\ 'scsh': { 'left': ';' },
|
\ 'scsh': { 'left': ';' },
|
||||||
\ 'scss': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'scss': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
|
\ 'sdc': { 'left': '#' },
|
||||||
\ 'sed': { 'left': '#' },
|
\ 'sed': { 'left': '#' },
|
||||||
\ 'sgmldecl': { 'left': '--', 'right': '--' },
|
\ 'sgmldecl': { 'left': '--', 'right': '--' },
|
||||||
\ 'sgmllnx': { 'left': '<!--', 'right': '-->' },
|
\ 'sgmllnx': { 'left': '<!--', 'right': '-->' },
|
||||||
@@ -400,6 +408,7 @@ let s:delimiterMap = {
|
|||||||
\ 'sqr': { 'left': '!' },
|
\ 'sqr': { 'left': '!' },
|
||||||
\ 'squid': { 'left': '#' },
|
\ 'squid': { 'left': '#' },
|
||||||
\ 'ss': { 'left': ';', 'leftAlt': '#|', 'rightAlt': '|#' },
|
\ 'ss': { 'left': ';', 'leftAlt': '#|', 'rightAlt': '|#' },
|
||||||
|
\ 'sshconfig': { 'left': '#' },
|
||||||
\ 'sshdconfig': { 'left': '#' },
|
\ 'sshdconfig': { 'left': '#' },
|
||||||
\ 'st': { 'left': '"' },
|
\ 'st': { 'left': '"' },
|
||||||
\ 'stan': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'stan': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
@@ -417,7 +426,7 @@ let s:delimiterMap = {
|
|||||||
\ 'tex': { 'left': '%' },
|
\ 'tex': { 'left': '%' },
|
||||||
\ 'texinfo': { 'left': "@c " },
|
\ 'texinfo': { 'left': "@c " },
|
||||||
\ 'texmf': { 'left': '%' },
|
\ 'texmf': { 'left': '%' },
|
||||||
\ 'tf': { 'left': ';' },
|
\ 'tf': { 'left': '#' },
|
||||||
\ 'tidy': { 'left': '#' },
|
\ 'tidy': { 'left': '#' },
|
||||||
\ 'tli': { 'left': '#' },
|
\ 'tli': { 'left': '#' },
|
||||||
\ 'tmux': { 'left': '#' },
|
\ 'tmux': { 'left': '#' },
|
||||||
@@ -426,6 +435,7 @@ let s:delimiterMap = {
|
|||||||
\ 'tsalt': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
\ 'tsalt': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
|
||||||
\ 'tsscl': { 'left': '#' },
|
\ 'tsscl': { 'left': '#' },
|
||||||
\ 'tssgm': { 'left': "comment = '", 'right': "'" },
|
\ 'tssgm': { 'left': "comment = '", 'right': "'" },
|
||||||
|
\ 'ttl': { 'left': '#' },
|
||||||
\ 'tup': { 'left': '#' },
|
\ 'tup': { 'left': '#' },
|
||||||
\ 'twig': { 'left': '{#', 'right': '#}' },
|
\ 'twig': { 'left': '{#', 'right': '#}' },
|
||||||
\ 'txt2tags': { 'left': '%' },
|
\ 'txt2tags': { 'left': '%' },
|
||||||
@@ -981,7 +991,11 @@ function s:CommentLinesSexy(topline, bottomline)
|
|||||||
" the lines down when we added the left delimiter
|
" the lines down when we added the left delimiter
|
||||||
call cursor(a:bottomline+1, 1)
|
call cursor(a:bottomline+1, 1)
|
||||||
execute 'normal! o'
|
execute 'normal! o'
|
||||||
let theLine = repeat(' ', leftAlignIndx) . repeat(' ', strlen(left)-strlen(sexyComMarker)) . right
|
if g:NERDDisableTabsInBlockComm
|
||||||
|
let theLine = repeat(' ', leftAlignIndx) . right
|
||||||
|
else
|
||||||
|
let theLine = repeat(' ', leftAlignIndx) . repeat(' ', strlen(left)-strlen(sexyComMarker)) . right
|
||||||
|
endif
|
||||||
|
|
||||||
" Make sure tabs are respected
|
" Make sure tabs are respected
|
||||||
if !&expandtab
|
if !&expandtab
|
||||||
@@ -1007,7 +1021,11 @@ function s:CommentLinesSexy(topline, bottomline)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" add the sexyComMarker
|
" add the sexyComMarker
|
||||||
let theLine = repeat(' ', leftAlignIndx) . repeat(' ', strlen(left)-strlen(sexyComMarker)) . sexyComMarkerSpaced . strpart(theLine, leftAlignIndx)
|
if g:NERDDisableTabsInBlockComm
|
||||||
|
let theLine = repeat(' ', leftAlignIndx) . sexyComMarkerSpaced . strpart(theLine, leftAlignIndx)
|
||||||
|
else
|
||||||
|
let theLine = repeat(' ', leftAlignIndx) . repeat(' ', strlen(left)-strlen(sexyComMarker)) . sexyComMarkerSpaced . strpart(theLine, leftAlignIndx)
|
||||||
|
endif
|
||||||
|
|
||||||
if lineHasTabs
|
if lineHasTabs
|
||||||
let theLine = s:ConvertLeadingSpacesToTabs(theLine)
|
let theLine = s:ConvertLeadingSpacesToTabs(theLine)
|
||||||
@@ -1244,12 +1262,29 @@ function! nerdcommenter#Comment(mode, type) range
|
|||||||
endtry
|
endtry
|
||||||
|
|
||||||
elseif a:type ==? 'Toggle'
|
elseif a:type ==? 'Toggle'
|
||||||
let theLine = getline(firstLine)
|
if g:NERDToggleCheckAllLines ==# 0
|
||||||
|
let theLine = getline(firstLine)
|
||||||
if s:IsInSexyComment(firstLine) || s:IsCommentedFromStartOfLine(s:Left(), theLine) || s:IsCommentedFromStartOfLine(s:Left({'alt': 1}), theLine)
|
if s:IsInSexyComment(firstLine) || s:IsCommentedFromStartOfLine(s:Left(), theLine) || s:IsCommentedFromStartOfLine(s:Left({'alt': 1}), theLine)
|
||||||
call s:UncommentLines(firstLine, lastLine)
|
call s:UncommentLines(firstLine, lastLine)
|
||||||
|
else
|
||||||
|
call s:CommentLinesToggle(forceNested, firstLine, lastLine)
|
||||||
|
endif
|
||||||
else
|
else
|
||||||
|
let l:commentAllLines = 0
|
||||||
|
for i in range(firstLine, lastLine)
|
||||||
|
let theLine = getline(i)
|
||||||
|
" if have one line no comment(not include blank/whitespace-only lines), then comment all lines
|
||||||
|
if theLine =~ '[^ \t]\+' && !s:IsInSexyComment(firstLine) && !s:IsCommentedFromStartOfLine(s:Left(), theLine) && !s:IsCommentedFromStartOfLine(s:Left({'alt': 1}), theLine)
|
||||||
|
let l:commentAllLines = 1
|
||||||
|
break
|
||||||
|
else
|
||||||
|
endif
|
||||||
|
endfor
|
||||||
|
if l:commentAllLines ==# 1
|
||||||
call s:CommentLinesToggle(forceNested, firstLine, lastLine)
|
call s:CommentLinesToggle(forceNested, firstLine, lastLine)
|
||||||
|
else
|
||||||
|
call s:UncommentLines(firstLine, lastLine)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
elseif a:type ==? 'Minimal'
|
elseif a:type ==? 'Minimal'
|
||||||
|
|||||||
@@ -488,6 +488,9 @@ change the filetype back: >
|
|||||||
one of 'none', 'left', 'start', or
|
one of 'none', 'left', 'start', or
|
||||||
'both'.
|
'both'.
|
||||||
|
|
||||||
|
|'NERDToggleCheckAllLines'| Enable NERDCommenterToggle to check
|
||||||
|
all selected lines is commented or not.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
4.3 Options details *NERDComOptionsDetails*
|
4.3 Options details *NERDComOptionsDetails*
|
||||||
|
|
||||||
@@ -800,6 +803,39 @@ When this option is set to 1, comments are nested automatically. That is, if
|
|||||||
you hit |<Leader>|cc on a line that is already commented it will be commented
|
you hit |<Leader>|cc on a line that is already commented it will be commented
|
||||||
again.
|
again.
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*'NERDToggleCheckAllLines'*
|
||||||
|
Values: 0 or 1.
|
||||||
|
Default 0.
|
||||||
|
|
||||||
|
When this option is set to 1, NERDCommenterToggle will check all selected line,
|
||||||
|
if there have oneline not be commented, then comment all lines.
|
||||||
|
|
||||||
|
------------------------------------------------------------------------------
|
||||||
|
*'NERDDisableTabsInBlockComm'*
|
||||||
|
Values: 0 or 1.
|
||||||
|
Default 0.
|
||||||
|
|
||||||
|
When this option is set to 1, NERDDisableTabsInBlockComm will not add
|
||||||
|
whitespaces align the start location of the ending comment symbol with the
|
||||||
|
end location of the starting comment symbol. For example, in Fortran, the new
|
||||||
|
style will be as the following: >
|
||||||
|
close (inpt,iostat=ierr,iomsg=error_message)
|
||||||
|
call io_error(pname,input_fname,2,__LINE__,__FILE__,ierr,error_message)
|
||||||
|
<
|
||||||
|
to >
|
||||||
|
!===BEGIN===!
|
||||||
|
! close (inpt,iostat=ierr,iomsg=error_message)
|
||||||
|
! call io_error(pname,input_fname,2,__LINE__,__FILE__,ierr,error_message)
|
||||||
|
!===END===!
|
||||||
|
<
|
||||||
|
for the block comment style if customized comment symbols are set up in vimrc
|
||||||
|
file by the following line >
|
||||||
|
let g:NERDCustomDelimiters = {
|
||||||
|
\ 'fortran':{'left':'!','leftAlt':'!===BEGIN===!','rightAlt':'!===END===!'}
|
||||||
|
\ }
|
||||||
|
<
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
3.3 Default delimiter customisation *NERDComDefaultDelims*
|
3.3 Default delimiter customisation *NERDComDefaultDelims*
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user