(text: string)
| 48 | |
| 49 | // This is for #| style chunk options |
| 50 | function isOptionComment(text: string) { |
| 51 | return (!!text.match(/^#+\|/g)); |
| 52 | } |
| 53 | export function shouldDisplayChunkOptions(document: vscode.TextDocument, position: vscode.Position) { |
| 54 | const line = document.lineAt(position).text; |
| 55 | const isRDoc = isRDocument(document); |
no outgoing calls
no test coverage detected