zeertzjq and S0AndS0
dce927183c
vim-patch:43725ac: runtime(css): Add additional CSS pseudo-classes and functions ( #42192 )
...
Problem: Other than `state()` these are widely supported CSS features
Solution: Add :host, :host-context(), slotted(), and state() CSS
pseudo-classes and functions (S0AndS0).
Reference:
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:host
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:host_function
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/::slotted
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:state
TLDR: `host` and `host-context()` are useful for shadowDom stuff,
`::slotted()` enables targeting elements passed/injected into a
`<template>` and `state()` enables targeting custom identifiers.
For example, currently I'm (ab)using `:host` as a drop-in replacement
for `:root` when defining variables that are intended to be shared
across custom/template elements;
- `./assets/css/host.css`
```css
:host {
--default__margin-block: 0.25rem;
}
```
- `./custom-elements/example.html`
```html
<template>
<link rel="stylesheet" href="/assets/css/host.css">
<style>
header {
margin-block-start: calc(var(--default__margin-block) * 2);
}
</style>
<header></header>
</template>
```
closes : vim/vim#21404
https://github.com/vim/vim/commit/43725acce680d1b999e22fad68cea99c2b593325
Co-authored-by: S0AndS0 <strangerthanbland@gmail.com >
2026-10-01 13:19:35 +08:00
d72e6ae9fc
vim-patch:06512b1: runtime(css): add more missing CSS properties
...
This is defined in the 'CSS Overflow Module Level 3' spec[1] and
supported by recent versions of all browsers reported by MDN[2], see the
MDN page also for the available values.
Link: https://drafts.csswg.org/css-overflow/#scrollbar-gutter-property [1]
Link: https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Properties/scrollbar-gutter#browser_compatibility [2]
related: vim/vim#20639
closes: vim/vim#20653
https://github.com/vim/vim/commit/06512b153cd8b432bb24087143299f082a353885
Co-authored-by: Jay Sitter <jay@jaysitter.com >
Co-Authored-by: Matthew Hughes <matthewhughes934@gmail.com >
2026-06-29 06:28:23 +08:00
zeertzjq and DuckAfire
1ed064625c
vim-patch:1cf38bf: runtime(css): Add missing numeric units ( #37843 )
...
- Add missing numeric units to css syntax script
(baseline 2015, 2020, 2022, 2023, 2026):
dvb, dvh, dvi, dvmax, dvmin, dvw ic,
lvb, lvh, lvi, lvmax, lvmin, lvw, svb, svh,
svi, svmax, svmin, svw, vb, vi, x, cap, lh,
rlh, rcap, rch, rex, ric
closes : vim/vim#19325
https://github.com/vim/vim/commit/1cf38bfebeeb322a8437a7c1fd12506661bbfa82
Co-authored-by: DuckAfire <155199080+duckafire@users.noreply.github.com >
2026-02-13 17:11:49 +08:00
zeertzjq and Christian Brabandt
ab20681c52
vim-patch:62d8f3d: runtime: Revert several "mark invalid contact addresses" commits ( #37192 )
...
This reverts commits:
- 6b652a785033fd4164e049492a7327c1ed7c3e5f
- 2f689d5abde0ccddca9e20d8c93a0299bd054e32
- a025a46d4169587145fb54f04af349cd05cb6122
Several email addresses that are known to be valid caused bounces
due to an issue with my email setup. The previous commits incorrectly
marked these addresses as invalid. So revert the whole thing again.
https://github.com/vim/vim/commit/62d8f3dab5a0b30c31a8df86a973c5e59821a3f0
N/A patch:
vim-patch:2f689d5: runtime: mark more invalid email addresses
Co-authored-by: Christian Brabandt <cb@256bit.org >
2026-01-02 06:53:44 +08:00
zeertzjq and Christian Brabandt
65e7aa9255
vim-patch:partial:2f689d5: runtime: mark more invalid email addresses
...
https://github.com/vim/vim/commit/2f689d5abde0ccddca9e20d8c93a0299bd054e32
Skip colors/ and syntax/help_ru.vim: missing previous changes.
Co-authored-by: Christian Brabandt <cb@256bit.org >
2026-01-01 08:17:57 +08:00
zeertzjq and Neil Lambert
3606b74d24
vim-patch:f85951f: runtime(css): improve cssBoxProp matches ( #36528 )
...
closes : vim/vim#18717
https://github.com/vim/vim/commit/f85951fee0e3ccd48ccfaeec9c09f96e325925d1
Co-authored-by: Neil Lambert <nlambert@pm.me >
2025-11-12 08:23:35 +08:00
Christian Clason and Jay Sitter
56734226af
vim-patch:e84490311ba3
...
runtime(css): update syntax script
https://github.com/vim/vim/commit/e84490311ba32cb258cc738bc3caa8b448c84c8b
Co-authored-by: Jay Sitter <jay@jaysitter.com >
2024-03-04 23:03:09 +01:00
Christian Clason and Adrian Heine né Lang
5b78a5c72a
vim-patch:309ded19543c
...
runtime(css): Update pseudo-classes in syntax script (vim/vim#11595 )
https://github.com/vim/vim/commit/309ded19543c140375b28ef562257e9f22c918c6
Co-authored-by: Adrian Heine né Lang <mail@adrianheine.de >
2023-08-21 20:32:28 +09:00
Christian Clason
b1757e1c29
vim-patch:0e6adf8a29d5 ( #16682 )
...
Update runtime files
https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471
2021-12-16 21:46:13 +01:00
Christian Clason
0ba77f2f31
vim-patch:2286304cdbba
...
Update runtime files
https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f
2021-10-16 18:03:51 +02:00
Jan Edmund Lazo
b16c7c515c
vim-patch:4f4d51a942cc
...
Update runtime files.
https://github.com/vim/vim/commit/4f4d51a942cc2c6b3e936ee0f93f00c2d000065c
Omit "??" operator.
Patches v8.2.1794,v8.2.1798 are not ported yet.
2021-05-01 14:22:52 -04:00
Jan Edmund Lazo
09f3e62bc6
vim-patch:e7b1ea0276cc
...
Update runtime files.
https://github.com/vim/vim/commit/e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
2021-04-29 20:42:16 -04:00
Justin M. Keyes
8f2557ad19
vim-patch:06fe74aef726
...
Runtime files update.
https://github.com/vim/vim/commit/06fe74aef72606ac34c9f494186e52614b8fb59a
2019-09-06 18:44:52 -07:00
Justin M. Keyes
17a5dde8d3
vim-patch:22f1d0e35eb0
...
Updated runtime files.
Add Serbian translations and spell checking.
https://github.com/vim/vim/commit/22f1d0e35eb0e503c2dc7813a973c7e6ca1b7dde
2018-10-28 14:18:21 +01:00
Justin M. Keyes
eb7ea6e122
vim-patch:369b6f57c426
...
Update runtime files.
https://github.com/vim/vim/commit/369b6f57c426b4bf39b4a0cac8d21ed1b5f7de4d
2017-05-01 13:19:34 +02:00
Justin M. Keyes
86b596dc7a
vim-patch:f37506f60f87
...
Updated runtime files. Remove HiLink commands.
https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
2017-04-28 21:25:15 +02:00
Justin M. Keyes
a53409b564
vim-patch:89bcfda6834a
...
Updated runtime files. Remove version checks for Vim older than 6.0.
https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
2017-04-28 21:13:55 +02:00
Marco Hinz
6936061580
Update runtime/syntax/css.vim
...
This file was missing from the previous runtime update (975a610 ).
2015-11-08 12:23:37 +01:00
Justin M. Keyes
a98a6996c2
re-integrate runtime/ vim-patch:0 #938
...
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7
Excluding:
Amiga icons (*.info, icons/)
doc/hangulin.txt
tutor/
spell/
lang/ (only used for menu translations)
macros/maze/, macros/hanoi/, macros/life/, macros/urm/
These were used to test vi compatibility.
termcap
"Demonstration of a termcap file (for the Amiga and Archimedes)"
Helped-by: Rich Wareham <rjw57@cam.ac.uk >
Helped-by: John <john.schmidt.h@gmail.com >
Helped-by: Yann <yann@yann-salaun.com >
Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com >
Helped-by: drasill <github@tof2k.com >
Helped-by: Tae Sandoval Murgan <taecilla@gmail.com >
Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com >
2014-07-29 02:12:31 +00:00