Commit Graph

49 Commits

Author SHA1 Message Date
hrsh7th
e820335208 LSP 3.17 (#1306)
* 3.17

* PositionEncodingKind

* Implement PositionEncodingKind

* Remove luarc.json
2022-11-16 01:27:15 +09:00
hrsh7th
69476c9e06 ci 2022-10-15 15:16:27 +09:00
lvimuser
0e436ee23a fix(entry/get_replace_range): workaround for end char matching cursor position (#1177)
fixes #1156
2022-10-07 18:04:07 +09:00
NEX
da2d88ec1a ADD: formatting.expandable_indicator to show the expandable indicator (#1207)
* ADD: formatting.expandable_indicator to show the `expandable` indicator

* UPDATA: doc/cmp.txt  lua/cmp/entry.lua  lua/cmp/typed/cmp.lua
2022-10-02 22:39:52 +09:00
yuys13
2427d06b65 Format by stylua (#1195) 2022-09-27 12:27:31 +09:00
hrsh7th
dd4173fcee Optimize performance more 2022-09-25 21:56:35 +09:00
hrsh7th
e1f31778a8 Optimize performance 2022-09-25 21:24:27 +09:00
lvimuser
27bc575d1e fix(entry/get_replace_range): handle TextEdit.range (#1140)
fixes cmp.mapping.confirm when ConfirmBehavior is set to Replace
2022-08-20 19:52:35 +09:00
Josh Bode
706371f130 add check for nil on documentation.value (#1091) 2022-07-25 12:47:47 +09:00
hrsh7th
bf5593df8e Improve typings 2022-07-24 12:44:53 +09:00
Daan Goossens
33588ca253 fix: #1030 (#1062) 2022-07-24 12:14:42 +09:00
Zach Birenbaum
ad31a2b0e3 (feat) Custom item kinds (#1003) 2022-07-24 12:12:34 +09:00
hrsh7th
dc3113a79f Add sort (required nvim-treesitter) 2022-03-30 20:41:32 +09:00
Eric
dd6e4d96f9 use only the first filetype when formatting (#857) 2022-03-28 18:22:45 +09:00
hrsh7th
71d7f46b93 Try to fix col adjustment (#843)
* Try to fix col adjuastment

* Improve duplicated text handling
2022-03-17 15:53:10 +09:00
hrsh7th
13d64460cb Fix entry:get_word()'s cache condition 2022-02-15 20:34:21 +09:00
hrsh7th
4f5cc6a9c8 Fix #801
Fix #615
Fix #798
2022-02-15 20:20:57 +09:00
hrsh7th
4bc038f72d fmt 2022-02-13 18:53:30 +09:00
hrsh7th
c07350181f Implement matching config.
Fix #796
2022-02-13 16:44:45 +09:00
hrsh7th
1797f9e1ac fmt&lint 2022-01-20 17:26:05 +09:00
hrsh7th
8fc8d31cf4 Support import completion 2022-01-18 19:32:51 +09:00
hrsh7th
440897ef58 Fix #741 2022-01-16 00:55:01 +09:00
hrsh7th
a4f83fd839 Fix #589 2022-01-08 13:33:53 +09:00
ap29600
eca04af4f8 handle nil value accessing CompletionItemKind (#690)
this prevents error messages from polluting the screen while using [ols](https://github.com/DanielGavin/ols) for autocompletion.
2021-12-31 01:07:02 +09:00
hrsh7th
d0f2ce460b Fix #615 2021-12-30 22:24:40 +09:00
Dmytro Meleshko
b9edce7214 Add the snippet indicator for items with Snippet kind (#677) 2021-12-29 03:17:22 +09:00
hrsh7th
b903545950 Fix #646
Resolve all properties by default
2021-12-14 14:22:17 +09:00
Dmytro Meleshko
727ddee59e Fix rendering of wide characters in the custom completion window (#641) 2021-12-13 13:05:55 +09:00
hrsh7th
593a6345de Implement kind highlights (#584)
* Implement kind highlights

* Fix link
2021-11-27 19:20:44 +09:00
hrsh7th
ebe040b1a9 Fix #279 2021-10-16 13:27:36 +09:00
hrsh7th
2f2794decd refactor 2021-10-11 18:38:01 +09:00
hrsh7th
d8e6a865e4 Use instead of 2021-10-11 00:43:53 +09:00
hrsh7th
67d43ddd59 Fix incorrect highlight 2021-10-11 00:26:21 +09:00
hrsh7th
f4c33ac7a9 Remove abbr formatting 2021-10-10 14:00:59 +09:00
hrsh7th
ada9ddeff7 Use floating window for completion menus (#224)
* WIP

* WIP

* Fix #226

* Insert text

* Emulate vim native

* テキトウ

* Tekito

* Move scrollbar impl

* aaa

* Ignore unexpected event

* fix

* fix scroll

* Refactor (conflict...)

* Fix bug

* Positive integer

* Refactor a bit

* Fix for pumheight=0

* fx

* Improve matching highlight

* Improve colorscheme handling

* fmt

* Add cmp.visible

* Fix pum pos

* ABBR_MARGIN

* Fix cel calculation

* up

* refactor

* fix

* a

* a

* compat

* Remove current completion state

* Fix ghost text

* Add feature toggle

* highlight customization

* Update

* Add breaking change announcement

* Add README.md

* Remove unused function

* extmark ephemeral ghost text

* Support native comp

* Fix docs  pos

* a

* Remove if native menu visible

* theme async

* Improvement idea: option to disables insert on select item (#240)

* use ghost text instead of insertion on prev/next item

* add disables_insert_on_selection option

* move disable_insert_on_select option as argumet on

* update README

* use an enum behavior to disable insert on select

* Adopt contribution

* Preselect

* Improve

* Change configuration option

* a

* Improve

* Improve

* Implement proper <C-e> behavior to native/custom

* Support <C-c> maybe

* Improve docs view

* Improve

* Avoid syntax leak

* TODO: refactor

* Fix

* Revert win pos

* fmt

* ghost text remaining

* Don't use italic by default

* bottom

* dedup by label

* Ignore events

* up

* Hacky native view partial support

* up

* perf

* improve

* more cache

* fmt

* Fix format option

* fmt

* recheck

* Fix

* Improve

* Improve

* compat

* implement redraw

* improve

* up

* fmt/lint

* immediate ghost text

* source timeout

* up

* Support multibyte

* disable highlight

* up

* improve

* fmt

* fmt

* fix

* fix

* up

* up

* Use screenpos

* Add undojoin check

* Fix height

* matcher bug

* Fix dot-repeat

* Remove undojoin

* macro

* Support dot-repeat

* MacroSafe

* Default item count is 200

* fmt

Co-authored-by: Eric Puentes <eric.puentes@mercadolibre.com.co>
2021-10-08 18:27:33 +09:00
hrsh7th
7bfa33a8db Improve performance (maybe) 2021-09-19 01:06:29 +09:00
hrsh7th
445179dca8 Fix #191 2021-09-14 03:15:18 +09:00
hrsh7th
405581e740 Fix invalid temporary text 2021-08-27 23:06:35 +09:00
hrsh7th
179c241e3c Update to the latest LSP spec 2021-08-27 21:13:15 +09:00
hrsh7th
2f0f5f3a91 Add formatting.deprecated option 2021-08-24 22:59:39 +09:00
hrsh7th
7873adf9a8 Fix #47 2021-08-24 13:23:27 +09:00
hrsh7th
f3a5491894 Fix dup assignment 2021-08-22 02:42:29 +09:00
hrsh7th
dbed9f4f58 Fix entry offset calculation 2021-08-17 16:25:19 +09:00
hrsh7th
e4deb0142a Fix #26 2021-08-16 14:02:09 +09:00
hrsh7th
d314313060 Improve menu customize API 2021-08-16 02:36:22 +09:00
hrsh7th
ef27b622a7 Remove VS.LSP.CompletionItem 2021-08-06 21:14:58 +09:00
hrsh7th
f8caf5647d Improve patching implementation 2021-08-06 18:14:20 +09:00
hrsh7th
570b00e6c3 Support overlap text 2021-08-05 15:20:47 +09:00
hrsh7th
d23d3533cf dev (#1)
* dev

* Improve sync design

* Support buffer local mapping

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* stylua

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* integration

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* update

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp

* tmp
2021-08-04 01:07:12 +09:00