Commit graph

14 commits

Author SHA1 Message Date
HiPhish
f17969999c Add more information to HACKING file
Describes my findings about non-sandwiching delimiters
2024-09-01 23:40:23 +02:00
HiPhish
b9ba41d1b9 Add clarifications to HACKING file
The nesting algorithm only works for sandwiching delimiters, for other
delimiters (like Python keywords such as `def` and `while`) the
algorithm does not work.
2024-09-01 15:46:41 +02:00
HiPhish
e85bc80b44 Update documentation 2024-07-23 21:00:26 +02:00
HiPhish
03f06991d9 Set g:bustedprg in .nvimrc file to shim
This will set up the shim automatically for users who have the 'exrc'
option enabled.
2024-05-07 08:28:38 +02:00
HiPhish
e023be2281 Translate buffer manipulation test to Busted
These tests are incomplete because an even on the Neovim side is not
triggered.  See the test code for a comment which explains the problem.
2024-01-21 12:50:09 +01:00
HiPhish
7c171bbeff Add end-to-end tests for configuration 2024-01-14 18:23:40 +01:00
HiPhish
0c550bcf1a Add unit testing for the stack structure
Use Busted as the unit testing framework
2024-01-14 18:22:56 +01:00
HiPhish
a298d32172 Update documentation for new delimiter captures
Co-authored-by: Danielkonge <dakongsgaard@gmail.com>
2023-11-07 23:21:21 +01:00
HiPhish
d30f99fd68 Add cleanup tests 2023-05-14 18:33:51 +02:00
HiPhish
6a43b696dc Simplify finding container match in local strategy 2023-02-19 18:06:09 +01:00
HiPhish
24e6fda74d Document design decisions 2023-02-15 23:43:10 +01:00
HiPhish
8e55805bf7 Improve strategy performance by using a stack 2023-02-13 22:50:09 +01:00
HiPhish
7b797cc0d5 Implement node levels using Tree-sitter only
The level of a container node can now be determined using information
from Tree-sitter directly. There is no need for some additional table of
container node types.
2023-02-06 23:12:07 +01:00
HiPhish
2f7f9bbe7f Implement local highlight strategy 2023-01-08 23:16:45 +01:00