Added ctags support

This commit is contained in:
Ryan 2023-07-16 10:21:52 +08:00
parent fd80eaf644
commit 785cd1471f
Signed by: juan
GPG Key ID: 807ECD28A698D245
1 changed files with 13 additions and 13 deletions

View File

@ -16,13 +16,6 @@ return require("packer").startup(function(use)
require("plugins.statusline") require("plugins.statusline")
end, end,
}) })
-- use {
-- 'romgrk/barbar.nvim',
-- requires = {'kyazdani42/nvim-web-devicons'},
-- event = 'BufAdd',
-- after = {'nvim-web-devicons'},
-- config = function() require 'plugins.barbar' end
-- }
-- lsp stuff -- lsp stuff
use({ use({
@ -36,7 +29,7 @@ return require("packer").startup(function(use)
use({ "hrsh7th/cmp-nvim-lsp", after = "nvim-lspconfig" }) use({ "hrsh7th/cmp-nvim-lsp", after = "nvim-lspconfig" })
use({ use({
"ray-x/lsp_signature.nvim", "ray-x/lsp_signature.nvim",
after = {"nvim-cmp"}, after = { "nvim-cmp" },
config = function() config = function()
require("plugins.lsp-signature") require("plugins.lsp-signature")
end, end,
@ -74,8 +67,8 @@ return require("packer").startup(function(use)
requires = { requires = {
-- local -- local
{ "hrsh7th/cmp-cmdline", after = "nvim-cmp" }, { "hrsh7th/cmp-cmdline", after = "nvim-cmp" },
{ "hrsh7th/cmp-buffer", after = "nvim-cmp" }, { "hrsh7th/cmp-buffer", after = "nvim-cmp" },
{ "hrsh7th/cmp-path", after = "nvim-cmp" }, { "hrsh7th/cmp-path", after = "nvim-cmp" },
{ {
"petertriho/cmp-git", "petertriho/cmp-git",
after = "nvim-cmp", after = "nvim-cmp",
@ -83,12 +76,12 @@ return require("packer").startup(function(use)
require("cmp_git").setup() require("cmp_git").setup()
end, end,
}, },
{ "delphinus/cmp-ctags", after = "nvim-cmp" }, -- end { "delphinus/cmp-ctags", after = "nvim-cmp" }, -- end
-- lsp -- lsp
{ "hrsh7th/cmp-nvim-lsp-document-symbol", after = "nvim-cmp" }, -- TS { "hrsh7th/cmp-nvim-lsp-document-symbol", after = "nvim-cmp" }, -- TS
{ "ray-x/cmp-treesitter", after = "nvim-cmp" }, -- end { "ray-x/cmp-treesitter", after = "nvim-cmp" }, -- end
-- Snip -- Snip
{ "saadparwaiz1/cmp_luasnip", after = { "nvim-cmp", "LuaSnip" } }, { "saadparwaiz1/cmp_luasnip", after = { "nvim-cmp", "LuaSnip" } },
}, },
}) })
@ -155,6 +148,13 @@ return require("packer").startup(function(use)
require("hop").setup({ keys = "etovxqpdygfblzhckisuran" }) require("hop").setup({ keys = "etovxqpdygfblzhckisuran" })
end, end,
}) })
use({
"c0r73x/neotags.lua",
event = "BufEnter",
config = function ()
require("neotags").setup()
end
})
-- eye-candy -- eye-candy
use({ use({