diff --git a/plugin/cobol.py b/plugin/cobol.py index 7b71d2979f17bff4c25a9d3d263144731d08e210..838446a527faa860534e2e1a03f86fd90a45e9ae 100755 --- a/plugin/cobol.py +++ b/plugin/cobol.py @@ -45,7 +45,7 @@ def cobol_Renumber(): lines[j] = ('%06d' % new_line_no) + lines[j][6:] new_line_no += delta else: - print('Not a COBOL file. This is a %s file' % + print('Not a COBOL file. This is a %s file.' % vim.current.buffer.options['filetype'].decode('UTF-8')) def cobol_Unnumber(): @@ -55,5 +55,5 @@ def cobol_Unnumber(): if lines[i][:6].isdigit(): lines[i] = ' ' + lines[i][6:] else: - print('Not a COBOL file. This is a %s file' % + print('Not a COBOL file. This is a %s file.' % vim.current.buffer.options['filetype'].decode('UTF-8'))