Skip to content

Commit 357117c

Browse files
committed
feat: Add COBOL support
1 parent bf6c457 commit 357117c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ the language you're editing.
2525
[vim-debugstring](https://github.com/bergercookie/vim-debugstring); updated for
2626
the NeoVim generation. It:
2727

28-
* Supports 34 filetypes/programming languages out-of-the-box, including
28+
* Supports 35 filetypes/programming languages out-of-the-box, including
2929
Python, JavaScript/TypeScript, Java, C/C++ and
3030
[more](#feature-comparison-with-similar-plugins). [It can also be extended to
3131
support other languages or customize existing ones](SHOWCASE.md).
@@ -236,6 +236,7 @@ they are used to convert sections to ROT-13, which most folks don't use.
236236
| C# | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
237237
| C++ | :+1: | :x: | :x: | :+1: | :+1: | :+1: | :x: |
238238
| CMake | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
239+
| Cobol | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
239240
| dart | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
240241
| Docker | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |
241242
| DOS/Windows Batch | :+1: | :x: | :x: | :x: | :x: | :x: | :x: |

lua/debugprint/filetypes.lua

+6
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,12 @@ return {
8787
mid_var = "${",
8888
right_var = '}")',
8989
},
90+
["cobol"] = {
91+
left = 'DISPLAY "',
92+
right = '".',
93+
mid_var = '" ',
94+
right_var = ".",
95+
},
9096
["cpp"] = {
9197
left = 'std::cerr << "',
9298
right = '" << std::endl;',

0 commit comments

Comments
 (0)