Ticket #1689: mc-4.7.0-alt-filetypes-editor.patch

File mc-4.7.0-alt-filetypes-editor.patch, 722 bytes (added by wRAR, 15 years ago)
  • misc/mc.ext.in

    diff --git a/misc/mc.ext.in b/misc/mc.ext.in
    index a093f88..c4dc68f 100644
    a b type/^ASCII\ mail\ text 
    257257 
    258258# C 
    259259shell/.c 
    260         Open=%var{EDITOR:vi} %f 
     260        Include=editor 
    261261 
    262262# Fortran 
    263263shell/.f 
    264         Open=%var{EDITOR:vi} %f 
     264        Include=editor 
    265265 
    266266# Header 
    267267regex/\.(h|hpp)$ 
    268         Open=%var{EDITOR:vi} %f 
     268        Include=editor 
    269269 
    270270# Object 
    271271type/^ELF 
    type/^ELF 
    274274 
    275275# Asm 
    276276shell/.s 
    277         Open=%var{EDITOR:vi} %f 
     277        Include=editor 
    278278 
    279279# C++ 
    280280regex/\.(C|cc|cpp)$ 
     281        Include=editor 
     282 
     283include/editor 
    281284        Open=%var{EDITOR:vi} %f 
    282285 
    283286 
    regex/\.([dD][vV][iI])$ 
    537540 
    538541# TeX 
    539542regex/\.([Tt][Ee][Xx])$ 
    540         Open=%var{EDITOR:vi} %f 
     543        Include=editor 
    541544 
    542545 
    543546### Miscellaneous ###