Skip to content

Commit

Permalink
Release v0.0.41
Browse files Browse the repository at this point in the history
  • Loading branch information
chemzqm committed Dec 21, 2018
1 parent 95c6e09 commit f6213c0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# 2018-12-20

- **Break change** configuration for module language server, transport now
require specified value.
- **Break change** new algorithm for socre complete items.
- Add command `workspace.clearWatchman`.
- Add `quickfixs`, `doCodeAction` and `doQuickfix` actions.
- Add `g:vim_node_rpc_args` for debug purpose.
- Add `coc#add_extension()` for specify extentions to install.
- Fix clients not restarted on CocRestart.
- Fix `execArgv` and `runtime` not work for node language server.
- Fix detail of complete item not echoed sometimes.
- Fix actions missing when registed with same clientId.
- Fix issues with signature echo.
- Fix uri is wrong with whitespace.
- Improve highlight performance with `nvim_call_atomic`.

# 2018-12-17

- **Break change** `vim-node-rpc` now upgrade in bacground.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "coc.nvim",
"version": "0.0.40",
"version": "0.0.41",
"description": "Completion manager for neovim",
"main": "./lib/index.js",
"bin": "./bin/server.js",
Expand Down
4 changes: 2 additions & 2 deletions src/util/fuzzy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ export function getCharCodes(str: string): number[] {
return res
}

export function wordChar(ch: number) {
export function wordChar(ch: number): boolean {
return (ch >= 97 && ch <= 122) || (ch >= 65 && ch <= 90)
}

export function caseMatch(ch: number, code: number) {
export function caseMatch(ch: number, code: number): boolean {
if (ch == code) return true
if (ch >= 97 && ch <= 122 && code + 32 === ch) return true
return false
Expand Down

0 comments on commit f6213c0

Please sign in to comment.