()
| 15 | # Get a tuple (fileName, fileContent) for the file opened in the current |
| 16 | # vim buffer. The fileContent contains the unsafed buffer content. |
| 17 | def getCurrentFile(): |
| 18 | file = "\n".join(vim.eval("getline(1, '$')")) |
| 19 | return (vim.current.buffer.name, file) |
| 20 | |
| 21 | def getCurrentTranslationUnit(args, currentFile, fileName, update = False): |
| 22 | if fileName in translationUnits: |
no outgoing calls
no test coverage detected