diff --git a/lua/core.lua b/lua/core.lua index ecc2104..ef3a5af 100644 --- a/lua/core.lua +++ b/lua/core.lua @@ -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 diff --git a/lua/plugins.lua b/lua/plugins.lua index 8f95ac6..47cb71f 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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 })