Commit Graph

545 Commits

Author SHA1 Message Date
hrsh7th
b43bfaf322 fix(entry): fix matches highlight information
fixes #1426
2023-05-28 22:47:11 +09:00
hrsh7th
3874e09e80 fix(entry): remove offset + 1 for tailwindcss 2023-05-28 22:33:20 +09:00
hrsh7th
1088b3743b Add extmark inline feature detection 2023-05-27 23:06:46 +09:00
hrsh7th
15e8a636df Restore schedule_wrap 2023-05-27 23:02:35 +09:00
Hawtian Wang
a0225043ab fix entry highlight in complete-menu (#1593) 2023-05-26 15:16:03 +09:00
hrsh7th
8a3d2dd764 Remove max_item_count from source configuration 2023-05-26 02:47:45 +09:00
Folke Lemaitre
abb5c7519d feat: cmp async (#1583) 2023-05-26 02:46:53 +09:00
Anshuman Medhi
950d0e3a93 ghost text inline (#1588) 2023-05-26 00:02:26 +09:00
Folke Lemaitre
768548bf49 perf(source): only filter up to 200 entries and dont use the cache (#1574) 2023-05-16 14:00:44 +09:00
François Fleur
d153771162 fix(ghost_text): safely apply virtual_text highlight (#1563) 2023-05-12 15:42:39 +09:00
hrsh7th
935b4069ce Improve misc.merge 2023-05-08 11:41:15 +09:00
hrsh7th
5a80cd4eca Fix #897 2023-05-07 15:00:04 +09:00
Felipe Gomes
1cad30fcff Added a modified=false to documentation buffer, so it can be removed without E89 errors (#1557) 2023-05-05 15:54:16 +09:00
hrsh7th
0e120a6373 Fix #1556 2023-05-05 15:24:55 +09:00
Konstantin Labun
8b76965ed0 fix 1533, add regression test (#1558) 2023-05-05 14:26:55 +09:00
hrsh7th
0f47dcaf7e Add buftype=nofile for entries_win and docs_win
- reddit user mention this...
2023-05-04 19:35:24 +09:00
hrsh7th
8d2f190506 Fix #1550 2023-05-04 03:09:56 +09:00
hrsh7th
bd168a2f86 Format with stylua 2023-05-03 17:06:27 +00:00
hrsh7th
833954209a Add test for #1552
Close #1552
2023-05-04 02:06:01 +09:00
hrsh7th
9b0bc5f9cd Revert #1534 temporaly 2023-05-04 00:01:00 +09:00
hrsh7th
0cb4b8a679 Format with stylua 2023-05-01 14:23:21 +00:00
Konstantin Labun
5547295bd0 fix: #1533 (#1534) 2023-05-01 23:23:02 +09:00
Daniil Shvalov
524cc0ba61 fix(cmdline): properly compute string length (#1544) 2023-05-01 23:18:17 +09:00
hrsh7th
5dcbc91d9a Try to fix #1458 (#1548) 2023-05-01 23:15:54 +09:00
hrsh7th
11102d3db1 Squashed commit of the following:
commit 6e81cce2cf9b9487e92c15cdfb145647de7c2db5
Author: hrsh7th <629908+hrsh7th@users.noreply.github.com>
Date:   Thu Apr 27 01:11:41 2023 +0900

    Improve key identity check
2023-04-27 11:02:23 +09:00
Yuta Katayama
e28fb7a730 fix: Use vim.treesitter.get_node_text() to avoid deprecation warning (#1499) 2023-04-24 13:58:46 +09:00
Turiiya
feed47fd1d fix: annotate complete option as optional (#1475) 2023-03-05 22:48:55 +09:00
Joey Buiteweg
01f697a689 fix: in lua if(0) evaluates to true, so check vim.fn.has == 1 (#1465) 2023-02-27 15:39:37 +09:00
musjj
227306a339 fix: de-duplicate completion correctly (#1466) 2023-02-27 15:39:25 +09:00
NAKAI Tsuyoshi
339186c979 fix CI (#1462) 2023-02-27 15:28:01 +09:00
hrsh7th
7a3b1e76f7 Improve docs 2023-02-24 12:23:36 +09:00
hrsh7th
4261563063 Fix #1443 2023-02-24 12:15:40 +09:00
hrsh7th
7cd39409e7 Fix #1443 2023-02-23 13:39:43 +09:00
Joey Buiteweg
ba7a53478d fix: better check for if setcmdline() is available (#1456) 2023-02-22 16:23:58 +09:00
NAKAI Tsuyoshi
8202df9561 fix: prevent autocmd outbursts by using setcmdline instead of feedkey (#1446) 2023-02-19 00:58:05 +09:00
hrsh7th
0c6a89af9a Improve perf 2023-02-18 16:46:02 +09:00
hrsh7th
ea9eaff573 Maybe improve cmdline redraw 2023-02-16 22:53:08 +09:00
hrsh7th
c4128bcd13 Fix CI 2023-02-15 00:32:21 +09:00
hrsh7th
a926412e16 Fix fuzzy matching option check and matched position 2023-02-15 00:30:03 +09:00
hrsh7th
6635b7aee5 Fix fuzzy match without no partial match 2023-02-14 22:41:28 +09:00
hrsh7th
aae0c3e4e7 Implement middle fuzzy matching
Fixes #1422
2023-02-11 22:52:28 +09:00
Wuelner Martínez
53f49c5145 feat(mapping): add all native mappings (#1430)
* feat(mapping): fully mimics the behavior of native `<C-n>` and `<C-p>`

Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>

* feat(mapping): added more native mappings to the `cmdline` preset

Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>

* fix(mapping): improved `<Tab>` and `<S-Tab>` mapppings of `cmdline`

Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>

---------

Signed-off-by: Wuelner Martínez <wuelner.martinez@outlook.com>
2023-02-11 22:31:42 +09:00
tummetott
cfafe0a1ca Improved: ALL option settings do not fire the OptionSet event (#1417) 2023-02-04 01:09:00 +09:00
tummetott
e7e2ef7031 Setting local window options does not trigger the "OptionSet" event (#1415) 2023-01-26 20:10:50 +09:00
hrsh7th
11a95792a5 Disable sort_text by default 2023-01-06 15:29:16 +09:00
hrsh7th
4748ea5a5a Fix locality sorting 2023-01-06 13:45:46 +09:00
MovEaxEsp
c49ad26e89 keymap.lua: Fix duplicate keymap detection (#1379)
'listen' has some code in it to try to not re-set a map for an existing mapping, by checking the 'desc' of the table returned from 'get_map'. Since 'desc' was never included in the table returned from 'get_map', I'm assuming my changes here were always the intention.

This change seems to fix an issue I was seeing (with cmp-nvim-ultisnips at least) where every time I'd enter and leave Insert mode, seemingly another <Tab> handler was getting registered, overtime causing <Tab> in Insert mode to get slower and slower.
2022-12-31 02:58:28 +09:00
hrsh7th
e55033fce4 Fix #1322 2022-12-27 15:53:05 +09:00
Lyude
a9c701fa7e Round up width/height for windows (#1373)
Ever since neovim introduced the nvim_ui_pum_set_bounds() call, GUI clients
have gained the ability to inform neovim of the current bounds of an
external popup menu provided by ext_popupmenu.

Since external popup menus are allowed to be any size in pixels which may
or may not line up cleanly on the grid, nvim allows for fractional
coordinates to be reported. This also will mean that in the event of this,
we'll end up with a cmp.WindowStyle with a float value for width/height -
which is incompatible with vim.api.nvim_open_win() and will cause us to hit
errors with GUI clients using this API call.

So, fix this by simply rounding up the width/height.
2022-12-27 13:11:42 +09:00
Marcus Caisey
d09b0c396a convert encoding of range instead of start / end (#1364) 2022-12-23 16:43:55 +09:00