diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-10-27 09:37:48 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-10-27 10:03:09 +0200 |
commit | 5753e5e7ebb60d26d78aa3c99a8b0e2ee8023056 (patch) | |
tree | 3e01e34860938d19a061212a32a486580d4fa896 /runtime | |
parent | 9dc440400cdb470b317c4169ba916e1cd9a316e1 (diff) | |
download | rneovim-5753e5e7ebb60d26d78aa3c99a8b0e2ee8023056.tar.gz rneovim-5753e5e7ebb60d26d78aa3c99a8b0e2ee8023056.tar.bz2 rneovim-5753e5e7ebb60d26d78aa3c99a8b0e2ee8023056.zip |
vim-patch:9.0.2071: objdump files not recognized
Problem: objdump files not recognized
Solution: detect *.objdump files, add a filetype plugin
Added the objdump file/text format
closes: vim/vim#13425
https://github.com/vim/vim/commit/10407df7a95d0311c7d2eb920d3b72020db5b301
Co-authored-by: Colin Kennedy <colinvfx@gmail.com>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ftplugin/objdump.vim | 14 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
2 files changed, 16 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 diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 627732f164..35ad8e21b8 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -716,6 +716,8 @@ local extension = { nsi = 'nsis', nsh = 'nsis', obj = 'obj', + objdump = 'objdump', + cppobjdump = 'objdump', obl = 'obse', obse = 'obse', oblivion = 'obse', |