profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/cls/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Connor Lane Smith cls Oxford Nanopore Technologies Berkshire, UK

cls/libutf 68

Plan 9 compatible UTF-8 C library [unmaintained]

cls/utfset 12

Sets of runes with a UTF-8 tree structure

cls/strong-krivine 5

Strongly normalising Krivine machine for λσ⇑-calculus

cls/bohm 4

Bologna Optimal Higher-order Machine

cls/stlc 1

Optimised type inference for simply-typed λ-calculus

cls/aoc2020 0

Advent of Code 2020

cls/boost-process 0

Boost.Process is a library to manage system processes

cls/docker-reviewboard 0

Dockerised Review Board [2.5.7] (Debian Jessie)

cls/floret 0

Incremental parsing with weighted regular expressions [WIP]

cls/reviewboard-bitkeeper 0

BitKeeper support for Review Board [2.5.7]

push eventcls/vim

Christian Brabandt

commit sha 1790be6cb6f2edfd8a833dd848b8df02cef599cf

patch 8.2.3250: MS-Windows: cannot build with libsodium Problem: MS-Windows: cannot build with libsodium. Solution: Change FEAT_SODIUM into HAVE_SODIUM. (Christian Brabandt, closes #8668, closes #8663)

view details

Bram Moolenaar

commit sha 0f5575d0a7316a9c9a4b02df3372a07514cd8f26

patch 8.2.3251: listing builtin_gui as an available terminal is confusing Problem: Listing builtin_gui as an available terminal is confusing. Solution: Do not list builtin_gui. (Christian Brabandt, closes #8669, closes #8661)

view details

Yegappan Lakshmanan

commit sha 4a15504e911bc90a29d862862f0b7a46d8acd12a

patch 8.2.3252: duplicated code for adding buffer lines Problem: Duplicated code for adding buffer lines. Solution: Move code to a common function. Also move map functions to map.c. (Yegappan Lakshmanan, closes #8665)

view details

Bram Moolenaar

commit sha 890ee4e2be1dca0c07a91f836e26baead952ae7c

patch 8.2.3253: channel test fails randomly Problem: Channel test fails randomly. Solution: Add a sleep after sending the "echoerr" command. (Michael Soyka)

view details

Yegappan Lakshmanan

commit sha 28d8421bfb3327d7a5e81369977e8fc108b0229e

patch 8.2.3254: win_gettype() does not recognize a quickfix window Problem: win_gettype() does not recognize a quickfix window. Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676)

view details

Connor Lane Smith

commit sha b9115da4bec5e6cfff69da85cc47c42dd67e42e4

patch 8.2.3255: ci" finds following string but ci< and others don't Problem: ci" finds following string but ci< and others don't. Solution: When not inside an object find the start. (Connor Lane Smit, closes #8670)

view details

push time in 2 months

pull request commentvim/vim

Have ci[ look for next [ like ci" does for next "

I've added a test, though I'm not especially familiar with Vimscript so hopefully it's acceptable. Running the test locally, it passes with my changes and fails without.

cls

comment created time in 2 months

push eventcls/vim

Connor Lane Smith

commit sha 556f4b55fb1c8d4ccf90f5abba7b121524a76994

Add Test_textobj_find_paren_forward to test_textobjects.vim

view details

push time in 2 months

PR opened vim/vim

Have ci[ look for next [ like ci" does for next "

In runtime/doc/todo.txt is a known issue:

"ci[" does not look for next [ like ci" does look for next ". (J.F. 2017 Jan 7)

For instance, if you are at the beginning of a line that reads #include "foo.h" then ci" will change the contents of the string, but if it reads #include <foo.h> then ci< will fail to find and change the contents of the angle brackets.

This patch has ci[ search forward for a bracket like ci" does.

There are two commits. The first is sufficient for a plain i[ or 1i[, but behaves a little strangely with numbers greater than 1. Specifically, di[ before a[b[c]d]e leaves a[]e, and 2di[ leaves a[b[]d]e, but any odd does the same as 1, and any even 2. This is just an artefact of the way it searches for a match. i" doesn't have this problem as 2+ is just a single special case.

The second commit fixes this so that 3i[ for example will enter the third nested bracket it finds, in a sort of inside-out version of what it would do if you were inside the brackets rather than outside of them. A higher number than there are nested brackets will fail. It's not entirely clear that this is the ideal behaviour, and it's a bit more code which is why I've kept it separate, but it seemed fairly reasonable.

This patch does not handle tag-blocks (it), only 'regular' blocks of '(', '{', etc.

Please let me know if there are any issues. Thanks.

+20 -5

0 comment

2 changed files

pr created time in 2 months

push eventcls/vim

Bram Moolenaar

commit sha 1b862c466ba4242857eec581f67982d265005ef4

patch 8.2.3205: Coverity reports a null pointer dereference Problem: Coverity reports a null pointer dereference. Solution: Change the logic to avoid Coverity gets confused.

view details

Yegappan Lakshmanan

commit sha 0ad871dc4dfe1026e14931a55c225616b63f4c5b

patch 8.2.3206: Vim9: argument types are not checked at compile time Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)

view details

Bram Moolenaar

commit sha 5a234eb18e6e43408755bb24e813330306c11629

patch 8.2.3207: Vim9: crash when compiling string fails Problem: Vim9: crash when compiling string fails. (Yegappan Lakshmanan) Solution: Adjust the type stack length.

view details

Martin Tournoij

commit sha 1a3e5747b7df7ddda312bbfd18e04fc2122001fb

patch 8.2.3208: dynamic library load error does not mention why it failed Problem: Dynamic library load error does not mention why it failed. Solution: Add the error message. (Martin Tournoij, closes #8621)

view details

Bram Moolenaar

commit sha 88421d6dc812a2f3b0eab34740f174c9558cb734

patch 8.2.3209: Vim9: lambda doesn't find block-local variable Problem: Vim9: lambda doesn't find block-local variable. Solution: Adjust how a script-local variable is found. (closes #8614)

view details

Bram Moolenaar

commit sha dd0b287c1ec8314034a2dbb14c4267994c47520c

patch 8.2.3210: Vim9: searchpair() sixth argument is compiled Problem: Vim9: searchpair() sixth argument is compiled. (Yegappan Lakshmanan) Solution: Only compile the fifth argument.

view details

Yegappan Lakshmanan

commit sha 7973de35ba6840b7e106e2e8a8912522e9a2a960

patch 8.2.3211: Vim9: argument types are not checked at compile time Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Fix type check for matchaddpos(). (Yegappan Lakshmanan, closes #8619)

view details

Dominique Pelle

commit sha 5a9e5845e1539592e94963fcdf5b3ad4fdc59db4

patch 8.2.3212: Vim9: execution speed can be improved Problem: Vim9: execution speed can be improved. Solution: Use __builtin_expect() to have the compiler produce better code. (Dominique Pellé, closes #8613)

view details

Dominique Pelle

commit sha 9c9472ff49b09c3d8f747b330eeb1cdb92bab449

patch 8.2.3213: NOCOMPOUNDSUGS entry in spell file not tested Problem: NOCOMPOUNDSUGS entry in spell file not tested. Solution: Add a test. (Dominique Pellé, closes #8624)

view details

Christian Brabandt

commit sha 7d60384a00755e5c0112cebeb5e232fc133c9eca

patch 8.2.3214: MS-Windows: passing /D does not set the install location Problem: MS-Windows: passing /D does not set the install location. Solution: Adjust how the installer uses $VIM. Update the documentation. (Christian Brabandt, closes #8605)

view details

Yegappan Lakshmanan

commit sha 5bca906b307728fa74a112914dc55b424d512d39

patch 8.2.3215: Vim9: argument types are not checked at compile time Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. Sort the argument lists. (Yegappan Lakshmanan, closes #8626)

view details

Bram Moolenaar

commit sha 2eb6fc3b52148f961e804ec2be361d531ff770d8

patch 8.2.3216: Vim9: crash when using variable in a loop at script level Problem: Vim9: crash when using variable in a loop at script level. Solution: Do not clear the variable if a function was defined. Do not create a new entry in sn_var_vals every time. (closes #8628)

view details

Bram Moolenaar

commit sha 3ed0d9379683246a77aa8c1a59da7a0ac6395339

patch 8.2.3217: build failure Problem: Build failure. Solution: Add missing changes.

view details

Christian Brabandt

commit sha 8a4c812ede5b01a8e71082c1ff4ebfcbf1bd515f

patch 8.2.3218: when using xchaha20 crypt undo file is not removed Problem: When using xchaha20 crypt undo file is not removed. Solution: Reset 'undofile' and delete the file. (Christian Brabandt, closes #8630, closes #8467)

view details

Christian Brabandt

commit sha 7a4ca32175bef0f9a177052796bd9addd10dc218

patch 8.2.3219: :find searches non-existing directories Problem: :find searches non-existing directories. Solution: Check the path is not "..". Update help. (Christian Brabandt, closes #8612, closes #8533)

view details

Dominique Pelle

commit sha 2ec28aec9d4f1b9c1c008e36adde9fc82affae0f

patch 8.2.3220: Test_term_setansicolors() fails in some configurations Problem: Test_term_setansicolors() fails in some configurations. Solution: Check available features. (Dominique Pellé, closes #8636)

view details

Yegappan Lakshmanan

commit sha a764e73d4ffc5d046807c757eaacb9b0a5408152

patch 8.2.3221: Vim9: argument types are not checked at compile time Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)

view details

Bram Moolenaar

commit sha 3c77b6a1ce1d4a06c60bb9fae7eec2775f547d55

patch 8.2.3222: Vim9: cannot used loop variable later as lambda argument Problem: Vim9: cannot used loop variable later as lambda argument. Solution: When not in function context check the current block ID. (closes #8637)

view details

Bram Moolenaar

commit sha ff34bee3a2d22f2ff7abd4519270b5518082c33d

patch 8.2.3223: Vim: using {} block in autoloade omnifunc fails Problem: Vim: using {} block in autoloade omnifunc fails. Solution: Allow using {} block when text is locked. (closes #8631)

view details

Bram Moolenaar

commit sha 678b207fb111840fec1f0dc43910613ba106b90d

patch 8.2.3224: cannot call script-local function after :vim9cmd Problem: Cannot call script-local function after :vim9cmd. (Christian J. Robinson) Solution: Skip over "<SNR>123".

view details

push time in 2 months

create barnchcls/vim

branch : find_paren_forward

created branch time in 2 months

fork cls/vim

The official Vim repository

https://www.vim.org

fork in 2 months