We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d53fb2 commit 5d7027fCopy full SHA for 5d7027f
.gitignore
@@ -63,3 +63,4 @@ typings/
63
.env
64
65
out/
66
+.DS_Store
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vim-language-server",
3
- "version": "2.2.10",
+ "version": "2.2.11",
4
"description": "vim language server",
5
"keywords": [
6
"viml",
src/common/util.ts
@@ -131,6 +131,11 @@ export function getWordFromPosition(
131
return;
132
}
133
134
+ // invalid character which less than 0
135
+ if (position.character < 0) {
136
+ return
137
+ }
138
+
139
const character = doc.getText(
140
Range.create(
141
Position.create(position.line, position.character),
0 commit comments