Commit Graph

5 Commits (cbdd559a759b5aef9b1c97d8b69a29e159d14ae1)

Author SHA1 Message Date
John Benediktsson cbdd559a75 misc/vim: some minor fixes.
- fix word definition to have dashes and other printables
- fix private to properly highlight and close the region
2020-09-29 10:04:43 -07:00
Dusk 710b54869a [misc] vim: Hygenic text width highlights
This lets Factor's overly long line highlighting avoid bleeding over
into documentation source buffers, or buffers of other non-Factor file
types entirely. Also, by taking `:2match` instead of `:match`,
clobbering of most user matches (or vice versa) can be avoided.

Unfortunately, the highlighting effects all windows in a multi-buffer
split setup, but since we can't reasonably make this a `:syntax match`
group, it'll have to do. (And this behavior isn't new.)
2020-06-07 00:10:18 +00:00
Keita Haga 0f64c5ae58 misc/vim/ftplugin/factor.vim: add copyright header 2011-04-05 10:47:08 +09:00
Keita Haga 4059eac351 misc/vim/ftplugin/factor.vim: add b:did_ftplugin at the top 2011-04-04 20:38:30 +09:00
Keita Haga e078094e06 Rename misc/vim/ftplugin/factor_settings.vim to misc/vim/ftplugin/factor.vim 2011-04-04 20:34:43 +09:00