Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no GptCommit command with neovim 0.9.5 and lazy #4

Open
sangshuduo opened this issue Feb 17, 2024 · 0 comments
Open

no GptCommit command with neovim 0.9.5 and lazy #4

sangshuduo opened this issue Feb 17, 2024 · 0 comments

Comments

@sangshuduo
Copy link

any clue?

====

$ nvim --version
NVIM v0.9.5
Build type: Release
LuaJIT 2.1.1703358377

  system vimrc file: "$VIM/sysinit.vim"
 fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.5/share/nvim"

Run :checkhealth for more info

: checkhealth output:

==============================================================================
coc: health#coc#check

- OK nvim version satisfied
- OK Environment check passed
- WARNING pyx command not work, some extensions may fail to work, checkout ":help |pythonx|"
- WARNING Install pynvim by command: `pip install pynvim --upgrade`
- OK Javascript bundle build/index.js found
- OK Service started

==============================================================================
crates: require("crates.health").check()

Checking for required plugins ~
- OK plenary.nvim installed

Checking for external dependencies ~
- OK curl installed

==============================================================================
floaterm: require("floaterm.health").check()

- ERROR Failed to run healthcheck for "floaterm" plugin. Exception:
 function health#check, line 25
 Vim(eval):E5108: Error executing lua ...cal/share/nvim/lazy/vim-floaterm/lua/floaterm/health.lua:25: attempt to index field 'uv' (a nil value)
 stack traceback:
 ...cal/share/nvim/lazy/vim-floaterm/lua/floaterm/health.lua:25: in function 'check_common'
 ...cal/share/nvim/lazy/vim-floaterm/lua/floaterm/health.lua:55: in function 'check'
 [string "luaeval()"]:1: in main chunk

==============================================================================
lazy: require("lazy.health").check()

lazy.nvim ~
- OK Git installed
- OK no existing packages found by other package managers
- OK packer_compiled.lua not found
- WARNING {warden.nvim}: unknown key <line_highlight>
- WARNING {rainbow}: unknown key <enable>

==============================================================================
nvim: require("nvim.health").check()

Configuration ~
- OK no issues found

Runtime ~
- OK $VIMRUNTIME: /opt/homebrew/Cellar/neovim/0.9.5/share/nvim/runtime

Performance ~
- OK Build type: Release

Remote Plugins ~
- OK Up to date

terminal ~
- key_backspace (kbs) terminfo entry: `key_backspace=^H`
- key_dc (kdch1) terminfo entry: `key_dc=\E[3~`
- $TERM_PROGRAM="WezTerm"
- $COLORTERM="truecolor"

==============================================================================
nvim-treesitter: require("nvim-treesitter.health").check()

Installation ~
- OK `tree-sitter` found 0.20.9 (parser generator, only needed for :TSInstallFromGrammar)
- OK `node` found v18.18.2 (only needed for :TSInstallFromGrammar)
- OK `git` executable found.
- OK `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
 Version: Apple clang version 15.0.0 (clang-1500.1.0.2.5)
- OK Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

OS Info:
{
 machine = "arm64",
 release = "23.2.0",
 sysname = "Darwin",
 version = "Darwin Kernel Version 23.2.0: Wed Nov 15 21:53:18 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6000"
} ~

Parser/Features         H L F I J
 - c                   ✓ ✓ ✓ ✓ ✓
 - lua                 ✓ ✓ ✓ ✓ ✓
 - query               ✓ ✓ ✓ ✓ ✓
 - vim                 ✓ ✓ ✓ . ✓
 - vimdoc              x . . . ✓

 Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections
        +) multiple parsers found, only one will be used
        x) errors found in the query, try to run :TSUpdate {lang} ~

The following errors have been detected: ~
- ERROR vimdoc(highlights): ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 746 for language vimdoc
 vimdoc(highlights) is concatenated from the following files:
 | [ERROR]:"/Users/sangshuduo/.local/share/nvim/lazy/nvim-treesitter/queries/vimdoc/highlights.scm", failed to load: ...im/0.9.5/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid node type at position 746 for language vimdoc

==============================================================================
provider: health#provider#check

Clipboard (optional) ~
- OK Clipboard tool found: pbcopy

Python 3 provider (optional) ~
- Disabled (g:loaded_python3_provider=0).

Python virtualenv ~
- OK no $VIRTUAL_ENV

Ruby provider (optional) ~
- Disabled (g:loaded_ruby_provider=0).

Node.js provider (optional) ~
- Disabled (g:loaded_node_provider=0).

Perl provider (optional) ~
- Disabled (g:loaded_perl_provider=0).

==============================================================================
vim.lsp: require("vim.lsp.health").check()

- LSP log level : WARN
- Log path: /Users/sangshuduo/.local/state/nvim/lsp.log
- Log size: 65 KB

vim.lsp: Active Clients ~
- copilot (id=1, root_dir=nil)

==============================================================================
vim.treesitter: require("vim.treesitter.health").check()

- Nvim runtime ABI version: 14
- OK Parser: lua        ABI: 14, path: /Users/sangshuduo/.local/share/nvim/lazy/nvim-treesitter/parser/lua.so
- OK Parser: c          ABI: 14, path: /opt/homebrew/Cellar/neovim/0.9.5/lib/nvim/parser/c.so
- OK Parser: lua        ABI: 14, path: /opt/homebrew/Cellar/neovim/0.9.5/lib/nvim/parser/lua.so
- OK Parser: query      ABI: 14, path: /opt/homebrew/Cellar/neovim/0.9.5/lib/nvim/parser/query.so
- OK Parser: vim        ABI: 14, path: /opt/homebrew/Cellar/neovim/0.9.5/lib/nvim/parser/vim.so
- OK Parser: vimdoc     ABI: 14, path: /opt/homebrew/Cellar/neovim/0.9.5/lib/nvim/parser/vimdoc.so

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant