summaryrefslogtreecommitdiffstats
path: root/runtime/ftplugin
diff options
context:
space:
mode:
authorColin Kennedy <colinvfx@gmail.com>2023-10-26 23:00:05 +0200
committerChristian Brabandt <cb@256bit.org>2023-10-26 23:03:15 +0200
commit10407df7a95d0311c7d2eb920d3b72020db5b301 (patch)
treee5abc2eb1cac4ed93c889f9805f92ed6ca73bb0c /runtime/ftplugin
parent6b89dd6a7257a1e2e9c7ea070b407bc4674a5118 (diff)
patch 9.0.2071: objdump files not recognizedv9.0.2071
Problem: objdump files not recognized Solution: detect *.objdump files, add a filetype plugin Added the objdump file/text format closes: #13425 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Colin Kennedy <colinvfx@gmail.com>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r--runtime/ftplugin/objdump.vim14
1 files changed, 14 insertions, 0 deletions
diff --git a/runtime/ftplugin/objdump.vim b/runtime/ftplugin/objdump.vim
new file mode 100644
index 0000000000..7517a342a3
--- /dev/null
+++ b/runtime/ftplugin/objdump.vim
@@ -0,0 +1,14 @@
+" Vim filetype plugin file
+" Language: Objdump
+" Maintainer: Colin Kennedy <colinvfx@gmail.com>
+" Last Change: 2023 October 25
+
+if exists("b:did_ftplugin")
+ finish
+endif
+
+let b:did_ftplugin = 1
+
+let b:undo_ftplugin = "setlocal cms<"
+
+setlocal commentstring=#\ %s