Settings for tagbar and neotags
This commit is contained in:
parent
785cd1471f
commit
8c02d4ea84
@ -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
|
||||||
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user