Error on startup `this[#remain].subarray is not a function`
See original GitHub issueWarning: I will close the issue without the minimal init.vim and the reproduction instructions.
Problems summary
Error message: [denops] Unexpected error occured in session: TypeError: this[#remain].subarray is not a function
It is may related to deno version. I have deno 1.13.1 installed
Expected
No error
Environment Information
-
ddc version (SHA1): latest
-
OS: Mac
-
neovim/Vim
:version
output: NVIM v0.6.0-dev+205-g9695691ee-dirty
Build type: Release
LuaJIT 2.1.0-beta3 -
:checkhealth
or:CheckHealth
result(neovim only): health#denops#check ========================================================================
- INFO: Supported Deno version:
1.11.0
- INFO: Detected Deno version:
1.8.2
- ERROR: Unsupported Deno version is detected. You need to upgrade it to
1.11.0
or later. - INFO: Supported Neovim version:
0.4.4
- INFO: Detected Neovim version:
0.6.0
- OK: Neovim version check: passed
- INFO: Denops status:
running
- OK: Denops status check: passed
Provide a minimal init.vim/vimrc with less than 50 lines (Required!)
" Your minimal init.vim/vimrc
set termguicolors
call plug#begin('~/.vim/plugged')
Plug 'ray-x/guihua.lua'
Plug 'ray-x/navigator.lua'
Plug 'ray-x/aurora'
Plug 'Shougo/ddc.vim'
Plug 'vim-denops/denops.vim'
Plug 'Shougo/ddc-around'
Plug 'Shougo/ddc-matcher_head'
Plug 'Shougo/ddc-sorter_rank'
Plug 'Shougo/deoppet.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'Shougo/neco-vim'
Plug 'Shougo/ddc-nvim-lsp'
Plug 'Shougo/ddc-nextword'
Plug 'matsui54/ddc-buffer'
Plug 'matsui54/ddc-nvim-lsp-doc'
Plug 'matsui54/ddc-dictionary'
call plug#end()
call ddc#custom#patch_global('sources', ['around'])
call ddc#custom#patch_global('sources', ['nvimlsp'])
call ddc#custom#patch_global('sourceOptions', {
\ '_': { 'matchers': ['matcher_head'] },
\ 'nvimlsp': { 'mark': 'lsp', 'forceCompletionPattern': '\.|:|->' },
\ })
call ddc#custom#patch_global('sourceParams', {
\ 'nvimlsp': { 'kindLabels': { 'Class': 'c' } },
\ })
inoremap <silent><expr> <TAB>
\ pumvisible() ? '<C-n>' :
\ (col('.') <= 1 <Bar><Bar> getline('.')[col('.') - 2] =~# '\s') ?
\ '<TAB>' : ddc#manual_complete()
inoremap <expr><S-TAB> pumvisible() ? '<C-p>' : '<C-h>'
call ddc#enable()
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
How to get subarray from array? - javascript - Stack Overflow
I want to add another note that slice does not raise exceptions for any type of input (string, undefined, object whatever). If start...
Read more >TypedArray.prototype.subarray() - JavaScript - MDN Web Docs
The subarray() method returns a new TypedArray on the same ArrayBuffer store and with the same element types as for this TypedArray object....
Read more >How JavaScript subarray() works with Examples - eduCBA
Start1: The start1 parameter of the subarray() function of the PHP Programming Language is an optional parameter. This parameter is the starting position ......
Read more >Largest subarray with equal number of 0s and 1s
Now, we need to find the subarray where subarray sum is 0 and start index is not 0. This problem is equivalent to...
Read more >Uncaught TypeError | Is Not A Function | Solution - YouTube
Have you encountered an error like:- Uncaught TypeError- Some selector is not a function - jQuery is not a function - owlCarousel is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have fixed both problems. Closing.
In fact even with nextword install but with no NEXTWORD_DATA_PATH setup. I still got errors.
So from my point of view, there are two issues: