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
-- controlling
vim.opt.completeopt = {'menu', 'menuone', 'noselect'}
vim.opt.completeopt = { 'menu', 'menuone', 'noselect' }
o.ignorecase = true
o.smartcase = true
o.smartindent = true
@ -20,3 +20,6 @@ o.mouse = "i"
-- leader settings
global.mapleader = ' '
-- env settings for plugins
global.tagbar_sort = 0

View File

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