首页 > 系统相关 >mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 04

mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 04

时间:2023-04-02 12:55:56浏览次数:59  
标签:OK 04 windows ABI parser version Loaded nvim

4.1 init.vim

init.vim 放置到下面

:echo stdpath('config')

~\AppData\Local\nvim

4.2 plug

https://github.com/junegunn/vim-plug

plug.vim 放置到下面

~\AppData\Local\nvim-data\site\autoload

4.3 :PlugInstall

4.3.1 网络问题

git proxy

4.3.2 process

4.3.3 telescope-fzf-native.nvim

"Plug 'nvim-telescope/telescope-fzf-native.nvim', { 'do': 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build' }
Plug 'nvim-telescope/telescope-fzf-native.nvim'
" msys build manually
Error detected while processing C:\Users\dev\AppData\Local\nvim\init.vim:
line  518:
E5108: Error executing lua ...lugged\telescope.nvim/lua/telescope/_extensions/init.lua:10: 'fzf' extension doesn't exist or isn't installed: ...m-data\plugged\telescope-fzf-native.nvim/lua/fzf_lib.lua:11: cannot load module 'C:\Users\dev\AppData\Local\nvim-data\plugged\telescope-fzf-native.nvim/lua/../build/libfzf.dll': The specified module could not be found.
C:\Users\dev\AppData\Local\nvim-data\plugged\telescope-fzf-native.nvim
cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
cmake --install build --prefix build
PS C:\Users\dev\AppData\Local\nvim-data\plugged\telescope-fzf-native.nvim> cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release
-- Building for: Ninja
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/gnu/msys64/mingw64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done (10.4s)
-- Generating done (0.0s)
-- Build files have been written to: C:/Users/dev/AppData/Local/nvim-data/plugged/telescope-fzf-native.nvim/build
PS C:\Users\dev\AppData\Local\nvim-data\plugged\telescope-fzf-native.nvim> cmake --build build --config Release
[2/2] Linking C shared library libfzf.dll
PS C:\Users\dev\AppData\Local\nvim-data\plugged\telescope-fzf-native.nvim> cmake --install build --prefix build
-- Install configuration: "Release"

4.4 checkhealth

coc: health#coc#check
========================================================================
  - OK: nvim version satisfied
  - OK: Environment check passed
  - OK: Javascript bundle build/index.js found
  - OK: Service started

diffview: require("diffview.health").check()
========================================================================
## Checking plugin dependencies
  - OK: plenary installed.
  - OK: nvim-web-devicons installed.

## Checking VCS tools
  - INFO: The plugin requires at least one of the supported VCS tools to be valid.
  - OK: Git found.
  - OK: Git is up-to-date. (2.40.0.windows.1)
  - WARNING: Configured `hg_cmd` is not executable: 'hg'

man: require("man.health").check()
========================================================================
  - OK: plugin/man.vim not in $VIMRUNTIME
  - OK: autoload/man.vim not in $VIMRUNTIME

mason: require("mason.health").check()
========================================================================
## mason.nvim report
  - OK: neovim version >= 0.7.0
  - OK: **unzip**: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
  - OK: **Go**: `go version go1.20.2 windows/amd64`
  - WARNING: **cargo**: not available
  - WARNING: **luarocks**: not available
  - WARNING: **Ruby**: not available
  - WARNING: **RubyGem**: not available
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - OK: **npm**: `9.5.0`
  - OK: **node**: `v18.15.0
`
  - OK: **python3**: `Python 3.10.10
`
  - OK: **pip3**: `pip 23.0.1 from C:\gnu\msys64\mingw64\lib\python3.10\site-packages\pip (python 3.10)

`
  - OK: **javac**: `javac 20
`
  - OK: **java**: `openjdk version "20" 2023-03-21
`
  - WARNING: **julia**: not available
  - OK: **wget**: `GNU Wget 1.21.3 built on cygwin.`
  - OK: **curl**: `curl 7.55.1 (Windows) libcurl/7.55.1 WinSSL
`
  - OK: **gzip**: `gzip 1.12`
  - OK: **tar**: `bsdtar 3.3.2 - libarchive 3.3.2 zlib/1.2.5.f-ipp
`
  - OK: **pwsh**: `7.3.3 Microsoft Windows 10.0.19043 Win32NT
`
  - OK: **python**: `Python 3.10.10
`
  - OK: **pip**: `pip 23.0.1 from C:\gnu\msys64\mingw64\lib\python3.10\site-packages\pip (python 3.10)

`
  - WARNING: **7z**: not available
  - OK: GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: 2023/4/1 22:09:44.

noice: require("noice.health").check()
========================================================================
## noice.nvim
  - OK: **Neovim** >= 0.8.0
  - WARNING: **Neovim** 0.9.0 (nightly) is recommended, since it fixes some issues related to `vim.ui_attach`
  - OK: Not running inside **Neovide**
  - OK: You're not using a GUI
  - OK: **vim.go.lazyredraw** is not enabled
  - OK: **nvim-notify** is installed
  - OK: **TreeSitter vim** parser is installed
  - OK: **TreeSitter regex** parser is installed
  - OK: **TreeSitter lua** parser is installed
  - OK: **TreeSitter bash** parser is installed
  - WARNING: **TreeSitter markdown** parser is not installed. Highlighting of the cmdline for markdown might be broken
  - WARNING: **TreeSitter markdown_inline** parser is not installed. Highlighting of the cmdline for markdown_inline might be broken
  - OK: `vim.notify` is set to **Noice**
  - OK: `vim.lsp.handlers["textDocument/hover"]` is set to **Noice**
  - OK: `vim.lsp.handlers["textDocument/signatureHelp"]` is set to **Noice**
  - OK: `vim.lsp.handlers["window/showMessage"]` is set to **Noice**
  - OK: `vim.lsp.util.convert_input_to_markdown_lines` is set to **Noice**
  - OK: `vim.lsp.util.stylize_markdown` is set to **Noice**
  - OK: `cmp.entry.get_documentation` is set to **Noice**

nvim: health#nvim#check
========================================================================
## Configuration
  - OK: no issues found

## Performance
  - OK: Build type: RelWithDebInfo

## Remote Plugins
  - OK: Up to date

## terminal
  - INFO: key_backspace (kbs) terminfo entry: ? (not found)
  - INFO: key_dc (kdch1) terminfo entry: ? (not found)

nvim-treesitter: require("nvim-treesitter.health").check()
========================================================================
## Installation
  - OK: `tree-sitter` found 0.20.7 (b268e412ad4848380166af153300464e5a1cf83f) (parser generator, only needed for :TSInstallFromGrammar)
  - OK: `node` found v18.15.0 (only needed for :TSInstallFromGrammar)
  - OK: `git` executable found.
  - OK: `cc` executable found. Selected from { vim.NIL, "cc", "gcc", "clang", "cl", "zig" }
    Version: cc (Rev10, Built by MSYS2 project) 12.2.0
  - OK: Neovim was compiled with tree-sitter runtime ABI version 14 (required >=13). Parsers must be compatible with runtime ABI.

## OS Info:
{
  machine = "x86_64",
  release = "10.0.19043",
  sysname = "Windows_NT",
  version = "Windows 10 Pro"
}

## Parser/Features         H L F I J
  - bash                ✓ ✓ ✓ . ✓
  - c                   ✓ ✓ ✓ ✓ ✓
  - c_sharp             ✓ ✓ ✓ . ✓
  - cmake               ✓ . ✓ . .
  - cpp                 ✓ ✓ ✓ ✓ ✓
  - css                 ✓ . ✓ ✓ ✓
  - cuda                ✓ ✓ ✓ ✓ ✓
  - diff                ✓ . . . .
  - dockerfile          ✓ . . . ✓
  - dot                 ✓ . . . ✓
  - glsl                ✓ ✓ ✓ ✓ ✓
  - go                  ✓ ✓ ✓ ✓ ✓
  - html                ✓ ✓ ✓ ✓ ✓
  - java                ✓ ✓ . ✓ ✓
  - json                ✓ ✓ ✓ ✓ .
  - json5               ✓ . . . ✓
  - latex               ✓ . ✓ . ✓
  - llvm                ✓ . . . .
  - lua                 ✓ ✓ ✓ ✓ ✓
  - make                ✓ . ✓ . ✓
  - ninja               ✓ . ✓ ✓ .
  - python              ✓ ✓ ✓ ✓ ✓
  - query               ✓ ✓ ✓ ✓ ✓
  - regex               ✓ . . . .
  - rust                ✓ ✓ ✓ ✓ ✓
  - scss                ✓ . ✓ ✓ .
  - sql                 ✓ . . . ✓
  - tsx                 ✓ ✓ ✓ ✓ ✓
  - typescript          ✓ ✓ ✓ ✓ ✓
  - vim                 ✓ ✓ ✓ . ✓
  - vimdoc              ✓ . . . ✓
  - vue                 ✓ . ✓ ✓ ✓
  - yaml                ✓ ✓ ✓ ✓ ✓

  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}

provider: health#provider#check
========================================================================
## Clipboard (optional)
  - OK: Clipboard tool found: win32yank

## Python 3 provider (optional)
  - INFO: `g:python3_host_prog` is not set.  Searching for python3 in the environment.
  - INFO: Multiple python3 executables found.  Set `g:python3_host_prog` to avoid surprises.
  - INFO: Executable: C:\gnu\msys64\mingw64\bin\python3.EXE
  - INFO: Other python executable: C:/gnu/msys64/mingw64/bin/python3
  - INFO: Other python executable: C:/gnu/msys64/usr/bin/python3
  - INFO: Python version: 3.10.10
  - INFO: pynvim version: 0.4.3
  - OK: Latest pynvim is installed.

## Python virtualenv
  - OK: no $VIRTUAL_ENV

## Ruby provider (optional)
  - WARNING: `ruby` and `gem` must be in $PATH.
    - ADVICE:
      - Install Ruby and verify that `ruby` and `gem` commands work.

## Node.js provider (optional)
  - INFO: Node.js: v18.15.0
  - INFO: Nvim node.js host: C:\Users\dev\AppData\Roaming\npm\node_modules/neovim/bin/cli.js
  - OK: Latest "neovim" npm/yarn/pnpm package is installed: 4.10.1

## Perl provider (optional)
  - WARNING: "Neovim::Ext" cpan module is not installed
    - ADVICE:
      - See :help |provider-perl| for more information.
      - You may disable this provider (and warning) by adding `let g:loaded_perl_provider = 0` to your init.vim

telescope: require("telescope.health").check()
========================================================================
## Checking for required plugins
  - OK: plenary installed.
  - OK: nvim-treesitter installed.

## Checking external dependencies
  - OK: rg: found ripgrep 13.0.0 (rev af6b6c543b)
  - OK: fd: found fd 8.7.0

## ===== Installed extensions =====

## Telescope Extension: `fzf`
  - OK: lib working as expected
  - OK: file_sorter correctly configured
  - OK: generic_sorter correctly configured

vim.lsp: require("vim.lsp.health").check()
========================================================================
  - INFO: LSP log level : WARN
  - INFO: Log path: C:\Users\dev\AppData\Local\nvim-data\lsp.log
  - INFO: Log size: 0 KB

vim.treesitter: require("vim.treesitter.health").check()
========================================================================
  - INFO: Runtime ABI version : 14
  - OK: Loaded parser for bash: ABI version 14
  - OK: Loaded parser for c: ABI version 13
  - OK: Loaded parser for cmake: ABI version 14
  - OK: Loaded parser for cpp: ABI version 14
  - OK: Loaded parser for css: ABI version 13
  - OK: Loaded parser for cuda: ABI version 14
  - OK: Loaded parser for c_sharp: ABI version 14
  - OK: Loaded parser for diff: ABI version 14
  - OK: Loaded parser for dockerfile: ABI version 14
  - OK: Loaded parser for dot: ABI version 13
  - OK: Loaded parser for glsl: ABI version 14
  - OK: Loaded parser for go: ABI version 14
  - OK: Loaded parser for html: ABI version 13
  - OK: Loaded parser for java: ABI version 14
  - OK: Loaded parser for json: ABI version 13
  - OK: Loaded parser for json5: ABI version 13
  - OK: Loaded parser for latex: ABI version 14
  - OK: Loaded parser for llvm: ABI version 13
  - OK: Loaded parser for lua: ABI version 13
  - OK: Loaded parser for make: ABI version 13
  - OK: Loaded parser for ninja: ABI version 13
  - OK: Loaded parser for python: ABI version 14
  - OK: Loaded parser for query: ABI version 14
  - OK: Loaded parser for regex: ABI version 13
  - OK: Loaded parser for rust: ABI version 14
  - OK: Loaded parser for scss: ABI version 13
  - OK: Loaded parser for sql: ABI version 14
  - OK: Loaded parser for tsx: ABI version 14
  - OK: Loaded parser for typescript: ABI version 14
  - OK: Loaded parser for vim: ABI version 14
  - OK: Loaded parser for vimdoc: ABI version 14
  - OK: Loaded parser for vue: ABI version 13
  - OK: Loaded parser for yaml: ABI version 13
  - OK: Loaded parser for c: ABI version 13
  - OK: Loaded parser for help: ABI version 14
  - OK: Loaded parser for lua: ABI version 13
  - OK: Loaded parser for vim: ABI version 14

which_key: health#which_key#check
========================================================================
## WhichKey: checking conflicting keymaps
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **" k"**
  - INFO: rhs: `<Plug>BookmarkPrev`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **" j"**
  - INFO: rhs: `<Plug>BookmarkNext`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"gb"**
  - INFO: rhs: `<Plug>(comment_toggle_blockwise)`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"gc"**
  - INFO: rhs: `<Plug>(comment_toggle_linewise)`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"zf"**
  - INFO: rhs: `<Cmd>set operatorfunc=<SNR>59_ZfOperator<CR>g@`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"ys"**
  - INFO: rhs: `<Plug>Ysurround`
  - WARNING: conflicting keymap exists for mode **"n"**, lhs: **"yS"**
  - INFO: rhs: `<Plug>YSurround`

4.5

网络问题 git proxy clean up

4.6

标签:OK,04,windows,ABI,parser,version,Loaded,nvim
From: https://www.cnblogs.com/Searchor/p/17280268.html

相关文章

  • mingw64 + nvim + coc.nvim + nvim-dap : C++ windows - 05
    PSC:\Users\dev\Desktop\cpp>cd.\build\PSC:\Users\dev\Desktop\cpp\build>cmake..-DCMAKE_BUILD_TYPE=Debug--Buildingfor:Ninja--TheCcompileridentificationisGNU12.2.0--TheCXXcompileridentificationisGNU12.2.0--Detect......
  • Windows窗口对象
         ......
  • 【THM】Windows Fundamentals 2(Windows基础知识2)-学习
    本文相关的TryHackMe实验房间链接:https://tryhackme.com/room/windowsfundamentals2x0x本文介绍:本文所涉及的内容是Windows基础模块的第2部分,了解有关系统配置、UAC设置、资源监控、Windows注册表等更多信息。简介在WindowsFundamentals1中,我们已经介绍了Windows的桌面......
  • 门户发送请求出现404 Not Found
    一、问题背景在门户新部署了个微服务,利用nacos管理微服务media,门户测试出现404异常,后端工作日志也没有出现错误二、报错截图如下三、我的项目配置如下在项目配置bootstrap.yml#微服务配置spring:application:name:media-api#服务名media-api-dev.yamlcloud:......
  • 4404. X 进制减法
    原题链接代码#include<iostream>#include<algorithm>usingnamespacestd;constintN=100010;constintmod=1000000007;inta[N],b[N];//总结:记得开longlong/*题目中的65是指:1*1+2*2+3*2*10=65;两数相减取最小进制位,每一位的最小进制位为a和b......
  • 每日总结2023-04-01
    今天完成了部分界面并修改了部分之前的界面成果:广告收益界面,LIstView中没有数据,暂时没有显示第二个界面用于车主添加产品类别,登记种类和数量第三个界面美化第四个界面为设备绑定界面 ......
  • 2023/04/01每日总结
    今天学习html,发现web页面不会做,现在从头开始学。准备做一个课表 ......
  • 2023-04-01 图论问题建模和floodfill
    图论问题建模和floodfillfloodfill(洪泛)实际就是图的遍历1图论问题例子:判断二分图题目来源:LeetCode785is-graph-bipartite:,判断二分图,因为题目中已经给出了邻接表,相当于已经给出了Graph,所以直接用二分图的核心算法即可,参考DFS实现二分图检测实现代码2图的建模和二......
  • 《花雕学AI》04:尝鲜功能丰富且容易上手的AI绘画工具——Leonardo AI
    偶然机缘,我接触到了另外一个AI绘画平台:Leonardo.AI  它是一个新的AI图像平台,其输出质量可与目前最火的Midjourney相媲美,当然差距还是有的。其链接是https://leonardo.ai/,界面如下图。我填写了电邮地址,申请试用的资格,后来,就没有下文了,呵呵......然后,使用谷歌账号,居然......
  • 英语背单词 专四词汇 202304 ChatGPT
    英语背单词专四词汇202302以及202303ChatGPT-ChuckLu-博客园(cnblogs.com)2023-04-01Explainthemeaningofthefollowingwordsalongwithindexandphoneticsymbol:crusade,scandal,jack,peril,optimism,anchor,burial,jerk,erase,bother,sardine,album......