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