Files
neovim/runtime
Viktor Kojouharov 5a9226c800 lua: simple snippet support in the completion items (#12118)
Old behavior is: foo(${placeholder: bar, ...)

with lots of random garbage you'd never want inserted.

New behavior is: foo(bar, baz) 

(which maybe is good, maybe is bad [depends on user], but definitely better than it was).

-----

* Implement rudimentary snippet parsing

Add support for parsing and discarding snippet tokens from the completion items.

Fixes #11982

* Enable snippet support

* Functional tests for snippet parsing

Add simplified real-world snippet text examples to the completion items
test

* Add a test for nested snippet tokens

* Remove TODO comment

* Return the unmodified item if the format is plain text

* Add a plain text completion item
2020-05-28 08:31:56 -04:00
..
2019-08-02 16:20:23 +02:00
2019-11-28 14:04:40 -08:00
2017-11-07 01:16:42 +01:00
2019-11-24 20:31:46 -05:00
2014-12-19 15:28:49 -05:00
2018-01-15 23:58:52 +01:00
2019-08-02 16:20:22 +02:00
2019-11-27 22:47:25 -08:00
2019-07-29 20:50:07 +02:00
2019-01-04 02:17:23 +01:00
2019-07-29 20:50:07 +02:00
2019-07-29 20:50:07 +02:00
2019-11-24 17:53:33 -08:00
2017-01-31 02:02:09 +01:00
2014-07-29 02:12:31 +00:00