ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5748] Editor Modeline Generator should terminate vi modeli

Date: Wed, 21 Sep 2011 00:35:03 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748

--- Comment #2 from Loránd Jakab <ljakab@xxxxxxxxxx> 2011-09-21 00:35:01 PDT ---
The current output of the generator is this:

/*
 * Editor modelines  -  http://www.wireshark.org/tools/modelines.html
 *
 * Local variables:
 * c-basic-offset: 4
 * tab-width: 8
 * indent-tabs-mode: nil
 * End:
 *
 * vi: set shiftwidth=4 tabstop=8 expandtab
 * :indentSize=4:tabSize=8:noTabs=true:
 */

There should be a colon just after 'expandtab'. The next line is for Emacs. If
the modeline is pasted like this, vim will not apply it.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.