1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

remove plugin gutentags

I rarely use it.
This commit is contained in:
jdhao 2021-12-06 11:40:45 +08:00
parent aacbf56ee5
commit 7735a33a59
3 changed files with 9 additions and 14 deletions

View File

@ -133,14 +133,6 @@ if g:is_win || g:is_mac
xmap ob <Plug>(openbrowser-smart-search)
endif
""""""""""""""""""""""""""" gutentags settings """"""""""""""""""""""""""""""
" The path to store tags files, instead of in the project root.
let g:gutentags_cache_dir = stdpath('cache') . '/ctags'
let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extra=+q']
let g:gutentags_ctags_extra_args += ['--c++-kinds=+px']
let g:gutentags_ctags_extra_args += ['--c-kinds=+px']
let g:gutentags_ctags_exclude = ['*.md', '*.html', '*.json', '*.toml', '*.css', '*.js',]
""""""""""""""""""""""""""" vista settings """"""""""""""""""""""""""""""""""
let g:vista#renderer#icons = {
\ 'member': '',

View File

@ -78,7 +78,7 @@ and make sure you can call `git` from the command line.
## ctags
In order to use tags related plugins such as [vista.vim](https://github.com/liuchengxu/vista.vim) and [gutentags](https://github.com/ludovicchabant/vim-gutentags), we need to
In order to use tags related plugins such as [vista.vim](https://github.com/liuchengxu/vista.vim), we need to
install a ctags distribution. Universal-ctags is preferred.
To install ctags on macOS, use [Homebrew](https://github.com/universal-ctags/homebrew-universal-ctags):

View File

@ -90,11 +90,11 @@ require("packer").startup({
end
use {
'nvim-telescope/telescope.nvim',
'nvim-telescope/telescope.nvim', cmd = 'Telescope',
requires = { {'nvim-lua/plenary.nvim'} }
}
-- search emoji and other symbols
use 'nvim-telescope/telescope-symbols.nvim'
use {'nvim-telescope/telescope-symbols.nvim', after = 'telescope.nvim'}
-- Another similar plugin is command-t
-- use 'wincent/command-t'
@ -150,8 +150,6 @@ require("packer").startup({
-- Only install these plugins if ctags are installed on the system
if utils.executable("ctags") then
-- plugin to manage your tags
use({"ludovicchabant/vim-gutentags", event = "VimEnter"})
-- show file tags in vim window
use({"liuchengxu/vista.vim", cmd = "Vista"})
end
@ -313,7 +311,12 @@ require("packer").startup({
use({"gelguy/wilder.nvim", opt = true, setup = [[vim.cmd('packadd wilder.nvim')]]})
-- showing keybindings
use {"folke/which-key.nvim", event = "VimEnter", config = [[require('config.which-key')]]}
use {"folke/which-key.nvim",
event = "VimEnter",
config = function()
vim.defer_fn(function() require('config.which-key') end, 2000)
end
}
-- show and trim trailing whitespaces
use {'jdhao/whitespace.nvim', event = 'VimEnter'}