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:
parent
aacbf56ee5
commit
7735a33a59
@ -133,14 +133,6 @@ if g:is_win || g:is_mac
|
|||||||
xmap ob <Plug>(openbrowser-smart-search)
|
xmap ob <Plug>(openbrowser-smart-search)
|
||||||
endif
|
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 """"""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""" vista settings """"""""""""""""""""""""""""""""""
|
||||||
let g:vista#renderer#icons = {
|
let g:vista#renderer#icons = {
|
||||||
\ 'member': '',
|
\ 'member': '',
|
||||||
|
|||||||
@ -78,7 +78,7 @@ and make sure you can call `git` from the command line.
|
|||||||
|
|
||||||
## ctags
|
## 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.
|
install a ctags distribution. Universal-ctags is preferred.
|
||||||
|
|
||||||
To install ctags on macOS, use [Homebrew](https://github.com/universal-ctags/homebrew-universal-ctags):
|
To install ctags on macOS, use [Homebrew](https://github.com/universal-ctags/homebrew-universal-ctags):
|
||||||
|
|||||||
@ -90,11 +90,11 @@ require("packer").startup({
|
|||||||
end
|
end
|
||||||
|
|
||||||
use {
|
use {
|
||||||
'nvim-telescope/telescope.nvim',
|
'nvim-telescope/telescope.nvim', cmd = 'Telescope',
|
||||||
requires = { {'nvim-lua/plenary.nvim'} }
|
requires = { {'nvim-lua/plenary.nvim'} }
|
||||||
}
|
}
|
||||||
-- search emoji and other symbols
|
-- 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
|
-- Another similar plugin is command-t
|
||||||
-- use 'wincent/command-t'
|
-- use 'wincent/command-t'
|
||||||
@ -150,8 +150,6 @@ require("packer").startup({
|
|||||||
|
|
||||||
-- Only install these plugins if ctags are installed on the system
|
-- Only install these plugins if ctags are installed on the system
|
||||||
if utils.executable("ctags") then
|
if utils.executable("ctags") then
|
||||||
-- plugin to manage your tags
|
|
||||||
use({"ludovicchabant/vim-gutentags", event = "VimEnter"})
|
|
||||||
-- show file tags in vim window
|
-- show file tags in vim window
|
||||||
use({"liuchengxu/vista.vim", cmd = "Vista"})
|
use({"liuchengxu/vista.vim", cmd = "Vista"})
|
||||||
end
|
end
|
||||||
@ -313,7 +311,12 @@ require("packer").startup({
|
|||||||
use({"gelguy/wilder.nvim", opt = true, setup = [[vim.cmd('packadd wilder.nvim')]]})
|
use({"gelguy/wilder.nvim", opt = true, setup = [[vim.cmd('packadd wilder.nvim')]]})
|
||||||
|
|
||||||
-- showing keybindings
|
-- 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
|
-- show and trim trailing whitespaces
|
||||||
use {'jdhao/whitespace.nvim', event = 'VimEnter'}
|
use {'jdhao/whitespace.nvim', event = 'VimEnter'}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user