Re: Loading filetype scripts when editing a file on VimEnter
Frank <[email protected]> Thu, 4 Jun 2026 11:24:59 -0700 (PDT)
| Newsgroups | gmane.editors.vim |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_89160_1882808051.1780597499323 Content-Type: multipart/alternative; boundary="----=_Part_89161_1344791371.1780597499323" ------=_Part_89161_1344791371.1780597499323 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you =F0=9F=99=8F=20 On Tuesday, June 2, 2026 at 3:18:27=E2=80=AFPM UTC+1 John Jackson wrote: > On 6/2/2026 9:22 AM, =E9=BB=84=E5=B2=9A=E5=86=9B wrote: > > Try adding `:filetype detect` to the line after `edit`. > > This fixed it. Thank you! > > John > > --=20 --=20 You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php ---=20 You received this message because you are subscribed to the Google Groups "= vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/vim_use/3e9= 998b0-1391-4284-b4c0-9df1cd756cd5n%40googlegroups.com. ------=_Part_89161_1344791371.1780597499323 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you =F0=9F=99=8F=C2=A0<br /><br /><div class=3D"gmail_quote"><div dir= =3D"auto" class=3D"gmail_attr">On Tuesday, June 2, 2026 at 3:18:27=E2=80=AF= PM UTC+1 John Jackson wrote:<br/></div><blockquote class=3D"gmail_quote" st= yle=3D"margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padd= ing-left: 1ex;">On 6/2/2026 9:22 AM, =E9=BB=84=E5=B2=9A=E5=86=9B wrote: <br>> Try adding `:filetype detect` to the line after `edit`. <br> <br>This fixed it. Thank you! <br> <br>John <br> <br></blockquote></div> <p></p> -- <br /> -- <br /> You received this message from the "vim_use" maillist.<br /> Do not top-post! Type your reply below the text you are replying to.<br /> For more information, visit <a href=3D"http://www.vim.org/maillist.php">htt= p://www.vim.org/maillist.php</a><br /> <br /> --- <br /> You received this message because you are subscribed to the Google Groups &= quot;vim_use" group.<br /> To unsubscribe from this group and stop receiving emails from it, send an e= mail to <a href=3D"mailto:[email protected]">vim_use+uns= [email protected]</a>.<br /> To view this discussion visit <a href=3D"https://groups.google.com/d/msgid/= vim_use/3e9998b0-1391-4284-b4c0-9df1cd756cd5n%40googlegroups.com?utm_medium= =3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/vim_use/3e9= 998b0-1391-4284-b4c0-9df1cd756cd5n%40googlegroups.com</a>.<br /> ------=_Part_89161_1344791371.1780597499323-- ------=_Part_89160_1882808051.1780597499323--