<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/runtime/syntax/css.vim, branch extregs</title>
<subtitle>Neovim fork with Rahm's personal hacks.</subtitle>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/'/>
<entry>
<title>vim-patch:43725ac: runtime(css): Add additional CSS pseudo-classes and functions (#42192)</title>
<updated>2026-10-01T05:19:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-10-01T05:19:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=dce927183cfec31fe8ca32ac7d58544f5c669bf9'/>
<id>dce927183cfec31fe8ca32ac7d58544f5c669bf9</id>
<content type='text'>
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
`&lt;template&gt;` 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
   &lt;template&gt;
     &lt;link rel="stylesheet" href="/assets/css/host.css"&gt;

     &lt;style&gt;
       header {
         margin-block-start: calc(var(--default__margin-block) * 2);
       }
     &lt;/style&gt;

     &lt;header&gt;&lt;/header&gt;
   &lt;/template&gt;
   ```

closes: vim/vim#21404

https://github.com/vim/vim/commit/43725acce680d1b999e22fad68cea99c2b593325

Co-authored-by: S0AndS0 &lt;strangerthanbland@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
`&lt;template&gt;` 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
   &lt;template&gt;
     &lt;link rel="stylesheet" href="/assets/css/host.css"&gt;

     &lt;style&gt;
       header {
         margin-block-start: calc(var(--default__margin-block) * 2);
       }
     &lt;/style&gt;

     &lt;header&gt;&lt;/header&gt;
   &lt;/template&gt;
   ```

closes: vim/vim#21404

https://github.com/vim/vim/commit/43725acce680d1b999e22fad68cea99c2b593325

Co-authored-by: S0AndS0 &lt;strangerthanbland@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:06512b1: runtime(css): add more missing CSS properties</title>
<updated>2026-06-28T22:28:23+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-06-28T22:28:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=d72e6ae9fc12d6d2ae0f7e3b49660ebb0aa40fc7'/>
<id>d72e6ae9fc12d6d2ae0f7e3b49660ebb0aa40fc7</id>
<content type='text'>
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 &lt;jay@jaysitter.com&gt;
Co-Authored-by: Matthew Hughes &lt;matthewhughes934@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;jay@jaysitter.com&gt;
Co-Authored-by: Matthew Hughes &lt;matthewhughes934@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:1cf38bf: runtime(css): Add missing numeric units (#37843)</title>
<updated>2026-02-13T09:11:49+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-02-13T09:11:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=1ed064625c1cb71161c4683c5cb0b2d19bf3c091'/>
<id>1ed064625c1cb71161c4683c5cb0b2d19bf3c091</id>
<content type='text'>
- 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 &lt;155199080+duckafire@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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 &lt;155199080+duckafire@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:62d8f3d: runtime: Revert several "mark invalid contact addresses" commits (#37192)</title>
<updated>2026-01-01T22:53:44+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-01-01T22:53:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ab20681c5229df3dc7291c67bb5a944acb7d5f7f'/>
<id>ab20681c5229df3dc7291c67bb5a944acb7d5f7f</id>
<content type='text'>
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 &lt;cb@256bit.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;cb@256bit.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:partial:2f689d5: runtime: mark more invalid email addresses</title>
<updated>2026-01-01T00:17:57+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2026-01-01T00:02:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=65e7aa92553f4d8a7f9907ce934e8ab5907b7df1'/>
<id>65e7aa92553f4d8a7f9907ce934e8ab5907b7df1</id>
<content type='text'>
https://github.com/vim/vim/commit/2f689d5abde0ccddca9e20d8c93a0299bd054e32

Skip colors/ and syntax/help_ru.vim: missing previous changes.

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/vim/vim/commit/2f689d5abde0ccddca9e20d8c93a0299bd054e32

Skip colors/ and syntax/help_ru.vim: missing previous changes.

Co-authored-by: Christian Brabandt &lt;cb@256bit.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:f85951f: runtime(css): improve cssBoxProp matches (#36528)</title>
<updated>2025-11-12T00:23:35+00:00</updated>
<author>
<name>zeertzjq</name>
<email>zeertzjq@outlook.com</email>
</author>
<published>2025-11-12T00:23:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=3606b74d248269bcdc90fe83887f86cff23f6ba9'/>
<id>3606b74d248269bcdc90fe83887f86cff23f6ba9</id>
<content type='text'>
closes: vim/vim#18717

https://github.com/vim/vim/commit/f85951fee0e3ccd48ccfaeec9c09f96e325925d1

Co-authored-by: Neil Lambert &lt;nlambert@pm.me&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closes: vim/vim#18717

https://github.com/vim/vim/commit/f85951fee0e3ccd48ccfaeec9c09f96e325925d1

Co-authored-by: Neil Lambert &lt;nlambert@pm.me&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:e84490311ba3</title>
<updated>2024-03-04T22:03:09+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2024-03-04T21:36:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=56734226afaca893f37b462e2a4787d2d2a13ce2'/>
<id>56734226afaca893f37b462e2a4787d2d2a13ce2</id>
<content type='text'>
runtime(css): update syntax script

https://github.com/vim/vim/commit/e84490311ba32cb258cc738bc3caa8b448c84c8b

Co-authored-by: Jay Sitter &lt;jay@jaysitter.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
runtime(css): update syntax script

https://github.com/vim/vim/commit/e84490311ba32cb258cc738bc3caa8b448c84c8b

Co-authored-by: Jay Sitter &lt;jay@jaysitter.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:309ded19543c</title>
<updated>2023-08-21T11:32:28+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2023-08-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=5b78a5c72a1ae8999646ecb268ab47b767c3e709'/>
<id>5b78a5c72a1ae8999646ecb268ab47b767c3e709</id>
<content type='text'>
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 &lt;mail@adrianheine.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;mail@adrianheine.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:0e6adf8a29d5 (#16682)</title>
<updated>2021-12-16T20:46:13+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2021-12-16T20:46:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b1757e1c29d07c7958c62427e19e85916670049d'/>
<id>b1757e1c29d07c7958c62427e19e85916670049d</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:2286304cdbba</title>
<updated>2021-10-16T16:03:51+00:00</updated>
<author>
<name>Christian Clason</name>
<email>c.clason@uni-graz.at</email>
</author>
<published>2021-10-16T15:07:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=0ba77f2f31c9de42f1e7a8435e6322d3f0a04fa5'/>
<id>0ba77f2f31c9de42f1e7a8435e6322d3f0a04fa5</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/2286304cdbba53ceb52b3ba2ba4a521b0a2f8d0f
</pre>
</div>
</content>
</entry>
</feed>
