1 Commits

Author SHA1 Message Date
Ankur Sinha
02a3b6455f feat: Add taskjuggler (#542)
Some checks failed
Vint / vint (push) Has been cancelled
Co-authored-by: Caleb Maclennan <caleb@alerque.com>
2025-04-30 14:42:03 +03:00

View File

@@ -406,6 +406,7 @@ let s:delimiterMap = {
\ 'texmf': { 'left': '%' },
\ 'tf': { 'left': '#' },
\ 'tidy': { 'left': '#' },
\ 'tjp': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' },
\ 'tla': { 'left': '\\*', 'leftAlt': '(*', 'rightAlt': '*)' },
\ 'tli': { 'left': '#' },
\ 'tmux': { 'left': '#' },
@@ -666,7 +667,7 @@ function! s:CommentBlock(top, bottom, lSide, rSide, forceNested) abort
"alternative delimiters (if THEY are) as the comment will be better and more
"accurate with multipart delimiters
let switchedDelims = 0
if !s:Multipart() && !g:NERDAllowAnyVisualDelims && s:AltMultipart()
if !s:Multipart() && g:NERDAllowAnyVisualDelims && s:AltMultipart()
let switchedDelims = 1
call nerdcommenter#SwitchToAlternativeDelimiters(0)
endif
@@ -1083,7 +1084,7 @@ function! s:CommentRegion(topLine, topCol, bottomLine, bottomCol, forceNested) a
"switch delimiters (if we can) if the current set isn't multipart
let switchedDelims = 0
if !s:Multipart() && s:AltMultipart() && !g:NERDAllowAnyVisualDelims
if !s:Multipart() && s:AltMultipart() && g:NERDAllowAnyVisualDelims
let switchedDelims = 1
call nerdcommenter#SwitchToAlternativeDelimiters(0)
endif