To: vim_dev@googlegroups.com Subject: Patch 9.0.1591 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1591 Problem: Some "gomod" files are not recognized. Solution: Check for "go.mod" file name before checking out the contents. (Omar El Halabi, closes #12462) Files: runtime/autoload/dist/ft.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1590/runtime/autoload/dist/ft.vim 2023-05-10 22:01:51.308844691 +0100 --- runtime/autoload/dist/ft.vim 2023-05-29 19:58:24.125989207 +0100 *************** *** 484,497 **** export def FTmod() if exists("g:filetype_mod") exe "setf " .. g:filetype_mod elseif IsLProlog() setf lprolog elseif getline(nextnonblank(1)) =~ '\%(\") =~ '\") =~ '\