]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-phpscript.patch
up to 9.0.1664
[packages/vim.git] / vim-phpscript.patch
index 7a8e665255df94a13dd29b542f85c3e0706e7106..8c7f07a551c41ed712bb005c0d987d9664b8b6de 100644 (file)
@@ -2,13 +2,12 @@
 +++ vim-8.2.4726/runtime/autoload/dist/script.vim      2022-04-10 12:01:55.436645032 +0200
 @@ -297,6 +297,10 @@ def DetectFromText(line1: string)
    elseif line1 =~ '^\x\{7}: \x\{2} \=\x\{2} \=\x\{2} \=\x\{2} '
-     set ft=xxd
+     setl ft=xxd
  
 +    # PHP script tag
 +  elseif line1 =~ '^<?php'
-+     set ft=php
++     setl ft=php
 +
      # RCS/CVS log output
    elseif line1 =~ '^RCS file:' || line2 =~ '^RCS file:'
-     set ft=rcslog
-
+     setl ft=rcslog
This page took 0.038295 seconds and 4 git commands to generate.