Settings for tagbar and neotags

This commit is contained in:
Ryan 2023-07-16 10:43:50 +08:00
parent 785cd1471f
commit 8c02d4ea84
Signed by: juan
GPG Key ID: 807ECD28A698D245
2 changed files with 11 additions and 3 deletions

View File

@ -11,7 +11,7 @@ o.showmode = false
o.scrolloff = 10 o.scrolloff = 10
-- controlling -- controlling
vim.opt.completeopt = {'menu', 'menuone', 'noselect'} vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
o.ignorecase = true o.ignorecase = true
o.smartcase = true o.smartcase = true
o.smartindent = true o.smartindent = true
@ -20,3 +20,6 @@ o.mouse = "i"
-- leader settings -- leader settings
global.mapleader = ' ' global.mapleader = ' '
-- env settings for plugins
global.tagbar_sort = 0

View File

@ -151,8 +151,13 @@ return require("packer").startup(function(use)
use({ use({
"c0r73x/neotags.lua", "c0r73x/neotags.lua",
event = "BufEnter", event = "BufEnter",
config = function () config = function()
require("neotags").setup() require("neotags").setup({
ctags = {
directory = vim.env.HOME .. '/.cache/nvim/neotags/' -- default directory where to store tags
}
})
end end
}) })