Mercurial > vim
comparison runtime/autoload/dist/script.vim @ 29181:71759abd2145 v8.2.5110
patch 8.2.5110: icon filetype not recognized from the first line
Commit: https://github.com/vim/vim/commit/bf6614643f656d38d220c04befdcb1d35774853a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jun 16 13:27:18 2022 +0100
patch 8.2.5110: icon filetype not recognized from the first line
Problem: Icon filetype not recognized from the first line.
Solution: Add a check for the first line. (Doug Kearns)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 16 Jun 2022 14:30:03 +0200 |
parents | 7346315e8517 |
children | 88d62ab596e8 |
comparison
equal
deleted
inserted
replaced
29180:e2fe9d2d2b78 | 29181:71759abd2145 |
---|---|
186 set ft=fish | 186 set ft=fish |
187 | 187 |
188 # Gforth | 188 # Gforth |
189 elseif name =~ 'gforth\>' | 189 elseif name =~ 'gforth\>' |
190 set ft=forth | 190 set ft=forth |
191 | |
192 # Icon | |
193 elseif name =~ 'icon\>' | |
194 set ft=icon | |
191 | 195 |
192 endif | 196 endif |
193 enddef | 197 enddef |
194 | 198 |
195 | 199 |