On 09/02/2018 22:41, Lifepillar wrote:
Unfortunately, I still have some problems when I test my plugin's
mappings. I have traced back the issue to the following:
fun! s:dup_complete()
" Get the text in front of the cursor
return getline('.')[0:col('.') - 2]
endf
fun! Test_du
On 09/02/2018 14:32, Bram Moolenaar wrote:
Lifepillar wrote:
On 05/02/2018 22:49, Nikolay Aleksandrovich Pavlov wrote:
2018-02-05 23:31 GMT+03:00 Lifepillar :
I would like to automate the testing of my completion plugin,
so I have started to write functions like this (I am using
a test frame
Lifepillar wrote:
> On 05/02/2018 22:49, Nikolay Aleksandrovich Pavlov wrote:
> > 2018-02-05 23:31 GMT+03:00 Lifepillar :
> >> I would like to automate the testing of my completion plugin,
> >> so I have started to write functions like this (I am using
> >> a test framework like the one in Vim):
On 05/02/2018 22:49, Nikolay Aleksandrovich Pavlov wrote:
2018-02-05 23:31 GMT+03:00 Lifepillar :
I would like to automate the testing of my completion plugin,
so I have started to write functions like this (I am using
a test framework like the one in Vim):
fun! Test_buffer_keyword_completion()
2018-02-05 23:31 GMT+03:00 Lifepillar :
> I would like to automate the testing of my completion plugin,
> so I have started to write functions like this (I am using
> a test framework like the one in Vim):
>
> fun! Test_buffer_keyword_completion()
> new
> set completeopt=menuone,noselect
> ca