Commit Graph

97 Commits

Author SHA1 Message Date
Dongdong Zhou f84f04303b
Merge pull request #459 from zhaojiangbin/top_of_window
implement top_of_window and bottom_of_window
2022-05-15 20:30:21 +01:00
Dongdong Zhou e8590ff256
Merge pull request #460 from zhaojiangbin/move_by_word
support count in word movement commands
2022-05-15 20:29:55 +01:00
Jiangbin Zhao ab17997c08 fix code format 2022-05-15 11:22:32 -07:00
Jiangbin Zhao 6cf86154e9 refactor the tests for readability 2022-05-15 11:20:51 -07:00
Dániel Buga ed3e34c9ee Only allocate once when toggling comments 2022-05-15 19:35:18 +02:00
Jiangbin Zhao 883064a1d9 fix code format 2022-05-14 17:05:11 -07:00
Jiangbin Zhao accdca760f address PR review feedbacks
- refactor impl of the functions

They now perform better in edge cases.

- add some unit tests
2022-05-14 17:02:45 -07:00
Dániel Buga 02cc1478fe Remove most of the dead code 2022-05-12 21:08:36 +02:00
Dongdong Zhou c8be6e3f37
Merge pull request #490 from tormeh/fix-ci
Fix ci
2022-05-11 21:15:15 +01:00
Dongdong Zhou 3b772bfe2d add support for scratch buffer 2022-05-11 21:12:12 +01:00
Dongdong Zhou c404f7194f alert when close editor if buffer not saved 2022-05-11 14:05:11 +01:00
Tormod G. Hellen 6114a29c5c Run cargo fmt --all. 2022-05-11 10:42:38 +02:00
Jiangbin Zhao ca5502bba0 support count in move by words commands in the vi-mode 2022-05-10 23:15:44 -07:00
Dongdong Zhou f2fffb3b1e file watcher improvement 2022-05-10 15:10:34 +01:00
Dongdong Zhou a9631ceaaa normal mode reset edit type 2022-05-10 09:34:17 +01:00
Dongdong Zhou 510532c179
Merge pull request #481 from zhaojiangbin/optional-langs
make deps on the tree-sitter lang crates optional
2022-05-10 09:33:15 +01:00
Dongdong Zhou f3eae73085 atomic rev fix 2022-05-10 08:43:48 +01:00
Jiangbin Zhao d95114e43f implement top_of_window and bottom_of_window
to complement center_of_window
2022-05-09 18:04:53 -07:00
Jiangbin Zhao 7c447bc0c0 address PR review feedbacks
rework the unit tests in lapce-core::language
2022-05-09 16:11:12 -07:00
Jiangbin Zhao fd957412fb address PR review feedbacks
- reimplement LapceLanguage::from_path()

- add a few unit tests

- minor changes including renaming struct and function
2022-05-09 13:15:04 -07:00
Dongdong Zhou 911d5f6aad new way to check if buffer is pristine 2022-05-09 21:10:24 +01:00
Jiangbin Zhao 51f335fd36 deps on the tree-sitter lang crates now optional 2022-05-08 22:01:52 -07:00
Dongdong Zhou 3b36bbacd6 remove buffer 2022-05-06 10:26:26 +01:00
Dongdong Zhou 17c6625de5 clean up 2022-05-06 10:12:53 +01:00
Dongdong Zhou 1e63cbc8f1 enter in search box 2022-05-05 21:54:22 +01:00
Dongdong Zhou 57247e08ba palette input to use editor 2022-05-04 16:22:40 +01:00
Dongdong Zhou 2789153990 some cleanup 2022-05-04 09:20:25 +01:00
Dongdong Zhou cb4adeeee1 some more commands 2022-05-03 21:22:43 +01:00
Dongdong Zhou 155a1dea9a Merge branch 'refactor' 2022-05-03 21:07:36 +01:00
Dongdong Zhou 98fadf1346 text layout cache improvement 2022-05-03 11:33:30 +01:00
Dongdong Zhou 41dc39fb24 rename 2022-05-02 22:00:09 +01:00
Dongdong Zhou 0519c492fb remove some fileds from lapcecommandnew 2022-05-02 21:37:35 +01:00
Dongdong Zhou d875ac0a44 buffer size 2022-05-02 21:07:50 +01:00
Dongdong Zhou a117017ecf more commands 2022-05-02 20:55:37 +01:00
Dongdong Zhou 76265e0318 terminal command 2022-05-02 20:36:27 +01:00
Dongdong Zhou 4579a4d4df jump location 2022-05-02 20:24:08 +01:00
Dongdong Zhou 79465d703e add jump to definition 2022-05-02 18:29:47 +01:00
Dongdong Zhou 3ce1c032d1 find fix 2022-05-02 18:12:04 +01:00
Dongdong Zhou fc6afb7627 settings close fix 2022-05-02 17:28:43 +01:00
Dongdong Zhou 73874a18bb page up/down 2022-05-01 22:16:56 +01:00
Dongdong Zhou 6e22890279 some more commands 2022-05-01 21:48:55 +01:00
Dongdong Zhou 74f70aee11 some more commands 2022-04-29 21:23:55 +01:00
unknown a38cccda6c Fix markdown dependency 2022-04-26 14:07:00 +02:00
Dongdong Zhou 8239786a46 multiple cursors start 2022-04-25 21:57:21 +01:00
Dongdong Zhou 8c0b4aacab fix move line down 2022-04-25 21:34:13 +01:00
Dongdong Zhou 075b72d8db mouse click update 2022-04-25 21:18:19 +01:00
Dongdong Zhou 480870b664 more commands 2022-04-25 20:29:13 +01:00
Dongdong Zhou c4aa1ad64f migrate more commands 2022-04-24 22:01:16 +01:00
Dongdong Zhou d5806344d2 visual mode 2022-04-24 21:26:30 +01:00
Liberatys 20e7982058 Add ruby language support 2022-04-24 21:23:47 +01:00