Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使coc.nvim检查代码';插入模式下的语义? >我使用NeVIM(V0.4.3)和COC.NVIM(V0.0.79)和CLAND与C++和C。问题是语法检查仅在正常模式下突出显示错误。这意味着我必须在insert模式下键入语句,然后转到normal以查看是否有任何错误。我想在插入模式下看到我的错误。所以我想知道这是只发生在我身上还是一件平常的事。如果有任何解决办法,请告诉我。这里我包括了init.vim的一些行 syntax on "to highlight more set noeb vb t_vb= "to remove the annoying sound set tabstop=4 softtabstop=4 "make tab 4 spaces instead of 8 set shiftwidth=4 "so when << or >> are pressed it shifts by 4 set smartindent " better indentation set nowrap "line continues on the screen independant of the width set nu rnu "line numbers and relative numbers set noswapfile set nobackup set undodir=~/.vim/undodir set undofile set incsearch "search when typing set cursorline "cursor line highlighted set clipboard=unnamedplus "so yanking goes to the clipboard "set completeopt-=preview "stops ycm from showing the preview let mapleader =" " "opens terminal call plug#begin('~/.vim/plugged') Plug 'sirver/ultisnips' Plug 'mbbill/undotree' Plug '907th/vim-auto-save' Plug 'jiangmiao/auto-pairs' Plug 'preservim/nerdcommenter' Plug 'preservim/nerdtree' Plug 'romgrk/winteract.vim' Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} Plug 'vim-airline/vim-airline' "requires installing powerline fonts found in github Plug 'vim-airline/vim-airline-themes' Plug 'ryanoasis/vim-devicons' Plug 'Chiel92/vim-autoformat' Plug 'hlissner/vim-multiedit' Plug 'tpope/vim-surround' Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'masukomi/vim-markdown-folding' Plug 'tpope/vim-markdown' "to highlight fenced code in md Plug 'kalekundert/vim-coiled-snake' Plug 'Konfekt/FastFold' call plug#end() let g:airline#extensions#tabline#enabled = 1 let g:auto_save=1 "autosave syntax on“突出显示更多信息 设置noeb vb t_vb=“以消除恼人的声音 设置tabstop=4软tabstop=4“将制表符设为4个空格,而不是8个空格 设置shiftwidth=4“,以便当按下>时,其移动4 设置smartindent“更好的缩进” set nowrap“行在屏幕上继续,与宽度无关 设置nu rnu“行号和相对号 设置noswapfile 设置备份 设置undodir=~/.vim/undodir 设置撤消文件 输入时设置“搜索”搜索 “设置光标线”光标线高亮显示 设置剪贴板=unnamedplus“以便拖动到剪贴板 “set completeopt-=预览”会阻止ycm显示预览 让mapleader=“” “打开终端 呼叫插头#开始(“~/.vim/plucked”) 插头“sirver/ultisnips” 插入“mbbill/undotree” 插头“907/vim自动保存” 插头“姜苗/自动对” 插头“preservim/nerdcommenter” 插头“preservim/nerdtree” 插头“romgrk/winteract.vim” 插入'iamcco/markdown preview.nvim',{'do':{->mkdp#util#install()},'for':['markdown',vim Plug']} 插入“vim airline/vim airline”需要安装github中的powerline字体 插入“vim航空公司/vim航空公司主题” 插头“Ryanosis/vim设备” 插头“Chiel92/vim自动格式化” 插入“hlissner/vim多重编辑” 插头't打开/vim环绕' 插入'neoclide/coc.nvim',{'branch':'release'} 插头“masukomi/vim减价折叠” 插入“tpope/vim markdown”以突出显示md中的隔离代码 插头“卡莱肯德特/维姆螺旋蛇” 插头“Konfekt/FastFold” 呼叫插头#结束() 设g:airline#extensions#tabline#enabled=1 设g:auto_save=1“autosave_Vim_Neovim_Coc.nvim - Fatal编程技术网

如何使coc.nvim检查代码';插入模式下的语义? >我使用NeVIM(V0.4.3)和COC.NVIM(V0.0.79)和CLAND与C++和C。问题是语法检查仅在正常模式下突出显示错误。这意味着我必须在insert模式下键入语句,然后转到normal以查看是否有任何错误。我想在插入模式下看到我的错误。所以我想知道这是只发生在我身上还是一件平常的事。如果有任何解决办法,请告诉我。这里我包括了init.vim的一些行 syntax on "to highlight more set noeb vb t_vb= "to remove the annoying sound set tabstop=4 softtabstop=4 "make tab 4 spaces instead of 8 set shiftwidth=4 "so when << or >> are pressed it shifts by 4 set smartindent " better indentation set nowrap "line continues on the screen independant of the width set nu rnu "line numbers and relative numbers set noswapfile set nobackup set undodir=~/.vim/undodir set undofile set incsearch "search when typing set cursorline "cursor line highlighted set clipboard=unnamedplus "so yanking goes to the clipboard "set completeopt-=preview "stops ycm from showing the preview let mapleader =" " "opens terminal call plug#begin('~/.vim/plugged') Plug 'sirver/ultisnips' Plug 'mbbill/undotree' Plug '907th/vim-auto-save' Plug 'jiangmiao/auto-pairs' Plug 'preservim/nerdcommenter' Plug 'preservim/nerdtree' Plug 'romgrk/winteract.vim' Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} Plug 'vim-airline/vim-airline' "requires installing powerline fonts found in github Plug 'vim-airline/vim-airline-themes' Plug 'ryanoasis/vim-devicons' Plug 'Chiel92/vim-autoformat' Plug 'hlissner/vim-multiedit' Plug 'tpope/vim-surround' Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'masukomi/vim-markdown-folding' Plug 'tpope/vim-markdown' "to highlight fenced code in md Plug 'kalekundert/vim-coiled-snake' Plug 'Konfekt/FastFold' call plug#end() let g:airline#extensions#tabline#enabled = 1 let g:auto_save=1 "autosave syntax on“突出显示更多信息 设置noeb vb t_vb=“以消除恼人的声音 设置tabstop=4软tabstop=4“将制表符设为4个空格,而不是8个空格 设置shiftwidth=4“,以便当按下>时,其移动4 设置smartindent“更好的缩进” set nowrap“行在屏幕上继续,与宽度无关 设置nu rnu“行号和相对号 设置noswapfile 设置备份 设置undodir=~/.vim/undodir 设置撤消文件 输入时设置“搜索”搜索 “设置光标线”光标线高亮显示 设置剪贴板=unnamedplus“以便拖动到剪贴板 “set completeopt-=预览”会阻止ycm显示预览 让mapleader=“” “打开终端 呼叫插头#开始(“~/.vim/plucked”) 插头“sirver/ultisnips” 插入“mbbill/undotree” 插头“907/vim自动保存” 插头“姜苗/自动对” 插头“preservim/nerdcommenter” 插头“preservim/nerdtree” 插头“romgrk/winteract.vim” 插入'iamcco/markdown preview.nvim',{'do':{->mkdp#util#install()},'for':['markdown',vim Plug']} 插入“vim airline/vim airline”需要安装github中的powerline字体 插入“vim航空公司/vim航空公司主题” 插头“Ryanosis/vim设备” 插头“Chiel92/vim自动格式化” 插入“hlissner/vim多重编辑” 插头't打开/vim环绕' 插入'neoclide/coc.nvim',{'branch':'release'} 插头“masukomi/vim减价折叠” 插入“tpope/vim markdown”以突出显示md中的隔离代码 插头“卡莱肯德特/维姆螺旋蛇” 插头“Konfekt/FastFold” 呼叫插头#结束() 设g:airline#extensions#tabline#enabled=1 设g:auto_save=1“autosave

如何使coc.nvim检查代码';插入模式下的语义? >我使用NeVIM(V0.4.3)和COC.NVIM(V0.0.79)和CLAND与C++和C。问题是语法检查仅在正常模式下突出显示错误。这意味着我必须在insert模式下键入语句,然后转到normal以查看是否有任何错误。我想在插入模式下看到我的错误。所以我想知道这是只发生在我身上还是一件平常的事。如果有任何解决办法,请告诉我。这里我包括了init.vim的一些行 syntax on "to highlight more set noeb vb t_vb= "to remove the annoying sound set tabstop=4 softtabstop=4 "make tab 4 spaces instead of 8 set shiftwidth=4 "so when << or >> are pressed it shifts by 4 set smartindent " better indentation set nowrap "line continues on the screen independant of the width set nu rnu "line numbers and relative numbers set noswapfile set nobackup set undodir=~/.vim/undodir set undofile set incsearch "search when typing set cursorline "cursor line highlighted set clipboard=unnamedplus "so yanking goes to the clipboard "set completeopt-=preview "stops ycm from showing the preview let mapleader =" " "opens terminal call plug#begin('~/.vim/plugged') Plug 'sirver/ultisnips' Plug 'mbbill/undotree' Plug '907th/vim-auto-save' Plug 'jiangmiao/auto-pairs' Plug 'preservim/nerdcommenter' Plug 'preservim/nerdtree' Plug 'romgrk/winteract.vim' Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']} Plug 'vim-airline/vim-airline' "requires installing powerline fonts found in github Plug 'vim-airline/vim-airline-themes' Plug 'ryanoasis/vim-devicons' Plug 'Chiel92/vim-autoformat' Plug 'hlissner/vim-multiedit' Plug 'tpope/vim-surround' Plug 'neoclide/coc.nvim', {'branch': 'release'} Plug 'masukomi/vim-markdown-folding' Plug 'tpope/vim-markdown' "to highlight fenced code in md Plug 'kalekundert/vim-coiled-snake' Plug 'Konfekt/FastFold' call plug#end() let g:airline#extensions#tabline#enabled = 1 let g:auto_save=1 "autosave syntax on“突出显示更多信息 设置noeb vb t_vb=“以消除恼人的声音 设置tabstop=4软tabstop=4“将制表符设为4个空格,而不是8个空格 设置shiftwidth=4“,以便当按下>时,其移动4 设置smartindent“更好的缩进” set nowrap“行在屏幕上继续,与宽度无关 设置nu rnu“行号和相对号 设置noswapfile 设置备份 设置undodir=~/.vim/undodir 设置撤消文件 输入时设置“搜索”搜索 “设置光标线”光标线高亮显示 设置剪贴板=unnamedplus“以便拖动到剪贴板 “set completeopt-=预览”会阻止ycm显示预览 让mapleader=“” “打开终端 呼叫插头#开始(“~/.vim/plucked”) 插头“sirver/ultisnips” 插入“mbbill/undotree” 插头“907/vim自动保存” 插头“姜苗/自动对” 插头“preservim/nerdcommenter” 插头“preservim/nerdtree” 插头“romgrk/winteract.vim” 插入'iamcco/markdown preview.nvim',{'do':{->mkdp#util#install()},'for':['markdown',vim Plug']} 插入“vim airline/vim airline”需要安装github中的powerline字体 插入“vim航空公司/vim航空公司主题” 插头“Ryanosis/vim设备” 插头“Chiel92/vim自动格式化” 插入“hlissner/vim多重编辑” 插头't打开/vim环绕' 插入'neoclide/coc.nvim',{'branch':'release'} 插头“masukomi/vim减价折叠” 插入“tpope/vim markdown”以突出显示md中的隔离代码 插头“卡莱肯德特/维姆螺旋蛇” 插头“Konfekt/FastFold” 呼叫插头#结束() 设g:airline#extensions#tabline#enabled=1 设g:auto_save=1“autosave,vim,neovim,coc.nvim,Vim,Neovim,Coc.nvim,感谢您阅读本文,祝您度过愉快的一天在您的coc设置.json中将诊断.refreshOnInsertMode设置为true。非常感谢。这很有魅力。

感谢您阅读本文,祝您度过愉快的一天

在您的coc设置.json中将
诊断.refreshOnInsertMode
设置为true。

非常感谢。这很有魅力。