mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 12:50:04 +08:00
perf(ctags): improve ctags log
This commit is contained in:
parent
a85c19a990
commit
c25a40d3e0
4
bundle/gtags.vim/autoload/ctags.vim
vendored
4
bundle/gtags.vim/autoload/ctags.vim
vendored
@ -52,14 +52,16 @@ endfunction
|
||||
|
||||
function! ctags#update(...) abort
|
||||
if !s:version_checked
|
||||
call s:LOGGER.info('start to check ctags version')
|
||||
call s:JOB.start([g:gtags_ctags_bin, '--version'], {
|
||||
\ 'on_stdout': function('s:version_std_out'),
|
||||
\ 'on_exit': function('s:version_exit'),
|
||||
\ })
|
||||
return
|
||||
else
|
||||
call s:LOGGER.info('update ctags database for ' . project_root)
|
||||
endif
|
||||
let project_root = getcwd()
|
||||
call s:LOGGER.info('update ctags database for ' . project_root)
|
||||
let dir = s:FILE.unify_path(g:tags_cache_dir)
|
||||
\ . s:FILE.path_to_fname(project_root)
|
||||
let cmd = [g:gtags_ctags_bin]
|
||||
|
@ -29,6 +29,12 @@ On Windows, the easiest way to install Neovim is to download
|
||||
[Neovim.zip](https://github.com/neovim/neovim/releases/download/nightly/nvim-win32.zip)
|
||||
from neovim release page. and extract it into `C:\Neovim`. You can also add `C:\Neovim\bin` to your `PATH`.
|
||||
|
||||
You can also use [scoop](https://scoop.sh/) to install neovim.
|
||||
|
||||
```
|
||||
scoop install neovim
|
||||
```
|
||||
|
||||
### Linux
|
||||
|
||||
You can install neovim or vim with default package manager.
|
||||
|
Loading…
Reference in New Issue
Block a user