mirror of
https://github.com/hrsh7th/nvim-cmp
synced 2024-09-16 20:54:03 +02:00
Format with stylua
This commit is contained in:
parent
5547295bd0
commit
0cb4b8a679
1 changed files with 6 additions and 6 deletions
|
@ -319,18 +319,18 @@ describe('entry', function()
|
|||
textEdit = {
|
||||
newText = "constructor() {\n this.test = 'test';\n }",
|
||||
range = {
|
||||
["end"] = {
|
||||
['end'] = {
|
||||
character = 2,
|
||||
col = 3,
|
||||
line = 2,
|
||||
row = 3
|
||||
row = 3,
|
||||
},
|
||||
start = {
|
||||
character = 0,
|
||||
line = 2
|
||||
}
|
||||
}
|
||||
}
|
||||
line = 2,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
assert.are.equal(e:get_offset(), 3)
|
||||
assert.are.equal(e:get_vim_item(e:get_offset()).word, 'constructor() {')
|
||||
|
|
Loading…
Reference in a new issue