<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rneovim.git/src/nvim/testdir/test_syntax.vim, branch newfeatures</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:d2ea7cf10a4d #15571</title>
<updated>2021-09-08T14:24:12+00:00</updated>
<author>
<name>Christian Clason</name>
<email>christian.clason@uni-due.de</email>
</author>
<published>2021-09-08T14:24:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=79cbbd5179d816a64989243cb1ce85b802a2896f'/>
<id>79cbbd5179d816a64989243cb1ce85b802a2896f</id>
<content type='text'>
Update runtime files
https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24

omit `runtime/doc/if_tcl.txt`
omit `runtime/doc/textprop.txt`
omit `runtime/tutor/*`
omit `runtime/syntax/vim.vim` (cherry-picked in https://github.com/neovim/neovim/commit/2dd7828511d04a8b7f1ac4331c719a751a5db869)

manual merge of `runtime/pack/dist/opt/termdebug/plugin/termdebug.vim`</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update runtime files
https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24

omit `runtime/doc/if_tcl.txt`
omit `runtime/doc/textprop.txt`
omit `runtime/tutor/*`
omit `runtime/syntax/vim.vim` (cherry-picked in https://github.com/neovim/neovim/commit/2dd7828511d04a8b7f1ac4331c719a751a5db869)

manual merge of `runtime/pack/dist/opt/termdebug/plugin/termdebug.vim`</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1809: more functions can be used as a method</title>
<updated>2021-08-12T21:35:20+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2021-08-06T17:10:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=aa2dc8b7b4e0e86c9102f2df6b670317c5693657'/>
<id>aa2dc8b7b4e0e86c9102f2df6b670317c5693657</id>
<content type='text'>
Problem:    More functions can be used as a method.
Solution:   Add has_key(), split(), str2list(), etc.
https://github.com/vim/vim/commit/a74e4946de074d2916e3d6004f7fa1810d12dda9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    More functions can be used as a method.
Solution:   Add has_key(), split(), str2list(), etc.
https://github.com/vim/vim/commit/a74e4946de074d2916e3d6004f7fa1810d12dda9
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.2761: using "syn include" does not work properly</title>
<updated>2021-04-15T22:30:04+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2021-04-14T12:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=7d3f31c0643f40645292e03565d18961e8cd72d7'/>
<id>7d3f31c0643f40645292e03565d18961e8cd72d7</id>
<content type='text'>
Problem:    Using "syn include" does not work properly.
Solution:   Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
            closes vim/vim#8104)
https://github.com/vim/vim/commit/2e240bd428c0033d16f201d7f837636412358199

Cherry-pick AssertHighlightGroups from patch v8.2.2068.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Using "syn include" does not work properly.
Solution:   Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung,
            closes vim/vim#8104)
https://github.com/vim/vim/commit/2e240bd428c0033d16f201d7f837636412358199

Cherry-pick AssertHighlightGroups from patch v8.2.2068.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1193: typos and small problems in test files</title>
<updated>2021-03-30T10:49:37+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2021-03-30T10:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=e491e77498e8f4b2e801b51271e5e50dd7976ae3'/>
<id>e491e77498e8f4b2e801b51271e5e50dd7976ae3</id>
<content type='text'>
Problem:    Typos and small problems in test files.
Solution:   Small improvements.
https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5

Include unmerged patch v8.0.1200 changes
because this patch depends on `set beloff=all` removed in 1 test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Typos and small problems in test files.
Solution:   Small improvements.
https://github.com/vim/vim/commit/037c54f261818439755d56e318da068f97997fb5

Include unmerged patch v8.0.1200 changes
because this patch depends on `set beloff=all` removed in 1 test.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.2011: "syn sync" reports a very large number</title>
<updated>2020-11-19T17:35:51+00:00</updated>
<author>
<name>Sean Dewar</name>
<email>seandewar@users.noreply.github.com</email>
</author>
<published>2020-11-18T20:44:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=b0f967a06e6970df9dfa1803fd1cc72294d64dcd'/>
<id>b0f967a06e6970df9dfa1803fd1cc72294d64dcd</id>
<content type='text'>
Problem:    "syn sync" reports a very large number.
Solution:   Use "at the first line".
https://github.com/vim/vim/commit/9950280d377a5c0706d141017fcef9cad598b8b0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    "syn sync" reports a very large number.
Solution:   Use "at the first line".
https://github.com/vim/vim/commit/9950280d377a5c0706d141017fcef9cad598b8b0
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.1795: no syntax HL after splitting windows with :bufdo</title>
<updated>2020-10-17T17:48:52+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2020-10-17T16:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=242af4dc991f12474eb281eb64236922b423cdbe'/>
<id>242af4dc991f12474eb281eb64236922b423cdbe</id>
<content type='text'>
Problem:    No syntax HL after splitting windows with :bufdo. (Yasuhiro
            Matsumoto)
Solution:   Trigger Syntax autocommands in buffers that are active.
            (closes vim/vim#4761)
https://github.com/vim/vim/commit/c7f1e4002184903f4e12e429dd5c6ab731932f86
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    No syntax HL after splitting windows with :bufdo. (Yasuhiro
            Matsumoto)
Solution:   Trigger Syntax autocommands in buffers that are active.
            (closes vim/vim#4761)
https://github.com/vim/vim/commit/c7f1e4002184903f4e12e429dd5c6ab731932f86
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.1678: crash when using ":set" after ":ownsyntax"</title>
<updated>2020-09-24T06:09:38+00:00</updated>
<author>
<name>Thomas Vigouroux</name>
<email>tomvig38@gmail.com</email>
</author>
<published>2020-09-24T05:13:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=ca28cf5362c9f8cfcc60e28e20c2d455c5c37c77'/>
<id>ca28cf5362c9f8cfcc60e28e20c2d455c5c37c77</id>
<content type='text'>
Problem:    Crash when using ":set" after ":ownsyntax".
Solution:   Make sure 'spelloptions' is not NULL. (closes vim/vim#6950)
https://github.com/vim/vim/commit/d1f76afaf963be706697279ab0570ffcb8a1f2fc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Crash when using ":set" after ":ownsyntax".
Solution:   Make sure 'spelloptions' is not NULL. (closes vim/vim#6950)
https://github.com/vim/vim/commit/d1f76afaf963be706697279ab0570ffcb8a1f2fc
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.2.0865 syntax: Add command to control how foldlevel is computed</title>
<updated>2020-06-23T23:07:33+00:00</updated>
<author>
<name>Brad King</name>
<email>brad.king@kitware.com</email>
</author>
<published>2020-04-06T20:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=357c16515c13eac99c5f2bc1ba5ac1ccc8afceec'/>
<id>357c16515c13eac99c5f2bc1ba5ac1ccc8afceec</id>
<content type='text'>
Problem:    Syntax foldlevel is taken from the start of the line.
Solution:   Add ":syn foldlevel" to be able to use the minimal foldlevel in the line.
https://github.com/vim/vim/commit/e35a52aee718c881bdfa69a47a1068df6ab6c60a

With `foldmethod=syntax` the foldlevel of a line is computed based
on syntax items on the line.  Previously we always used the level
of the syntax item containing the start of the line.  This works
well in cases such as:

    if (...) {
      ...
    }
    else if (...) {
      ...
    }
    else {
      ...
    }

which folds like this:

    +---  3 lines: if (...) {---------------------------
    +---  3 lines: else if (...) {----------------------
    +---  3 lines: else {-------------------------------

However, the code:

    if (...) {
      ...
    } else if (...) {
      ...
    } else {
      ...
    }

folds like this:

    +---  7 lines: if (...) {---------------------------

We can make the latter case fold like this:

    +---  2 lines: if (...) {---------------------------
    +---  2 lines: } else if (...) {--------------------
    +---  3 lines: } else {-----------------------------

by choosing on each line the lowest fold level that is followed
by a higher fold level.

Add a syntax command

    :syntax foldlevel [start | minimum]

to choose between these two methods of computing the foldlevel of
a line.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Syntax foldlevel is taken from the start of the line.
Solution:   Add ":syn foldlevel" to be able to use the minimal foldlevel in the line.
https://github.com/vim/vim/commit/e35a52aee718c881bdfa69a47a1068df6ab6c60a

With `foldmethod=syntax` the foldlevel of a line is computed based
on syntax items on the line.  Previously we always used the level
of the syntax item containing the start of the line.  This works
well in cases such as:

    if (...) {
      ...
    }
    else if (...) {
      ...
    }
    else {
      ...
    }

which folds like this:

    +---  3 lines: if (...) {---------------------------
    +---  3 lines: else if (...) {----------------------
    +---  3 lines: else {-------------------------------

However, the code:

    if (...) {
      ...
    } else if (...) {
      ...
    } else {
      ...
    }

folds like this:

    +---  7 lines: if (...) {---------------------------

We can make the latter case fold like this:

    +---  2 lines: if (...) {---------------------------
    +---  2 lines: } else if (...) {--------------------
    +---  3 lines: } else {-----------------------------

by choosing on each line the lowest fold level that is followed
by a higher fold level.

Add a syntax command

    :syntax foldlevel [start | minimum]

to choose between these two methods of computing the foldlevel of
a line.
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2190: syntax test fails on Mac</title>
<updated>2019-10-21T11:34:05+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-10-20T20:39:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=13a6878d187612721baecede181e7dfdc3699a59'/>
<id>13a6878d187612721baecede181e7dfdc3699a59</id>
<content type='text'>
Problem:    Syntax test fails on Mac.
Solution:   Limit the window size to 20 rows.
https://github.com/vim/vim/commit/83e9a1ce75818a78c5ddf8dcfb820634ca6fabff
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Syntax test fails on Mac.
Solution:   Limit the window size to 20 rows.
https://github.com/vim/vim/commit/83e9a1ce75818a78c5ddf8dcfb820634ca6fabff
</pre>
</div>
</content>
</entry>
<entry>
<title>vim-patch:8.1.2185: syntax test fails</title>
<updated>2019-10-21T11:34:05+00:00</updated>
<author>
<name>Jan Edmund Lazo</name>
<email>jan.lazo@mail.utoronto.ca</email>
</author>
<published>2019-10-20T09:59:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.josher.dev/rneovim.git/commit/?id=f4cbe96488fce4de971be2e25b254320f0fa71b2'/>
<id>f4cbe96488fce4de971be2e25b254320f0fa71b2</id>
<content type='text'>
Problem:    Syntax test fails.
Solution:   Add missing file patch.
https://github.com/vim/vim/commit/bbfd1562aeaa5b40b6451effc399846b692d6992
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem:    Syntax test fails.
Solution:   Add missing file patch.
https://github.com/vim/vim/commit/bbfd1562aeaa5b40b6451effc399846b692d6992
</pre>
</div>
</content>
</entry>
</feed>
