diff --git a/README.md b/README.md index 6091109..faa15e1 100644 --- a/README.md +++ b/README.md @@ -314,9 +314,9 @@ require'navigator'.setup({ }, ctags ={ cmd = 'ctags', - tagfile = 'tags' - options = '-R --exclude=.git --exclude=node_modules --exclude=test --exclude=vendor --excmd=number' - } + tagfile = 'tags', + options = '-R --exclude=.git --exclude=node_modules --exclude=test --exclude=vendor --excmd=number', + }, gopls = { -- gopls setting on_attach = function(client, bufnr) -- on_attach for gopls -- your special on attach here diff --git a/lua/navigator.lua b/lua/navigator.lua index 2cb05df..93e0143 100755 --- a/lua/navigator.lua +++ b/lua/navigator.lua @@ -36,7 +36,8 @@ _NgConfigValues = { lsp_signature_help = true, -- if you would like to hook ray-x/lsp_signature plugin in navigator -- setup here. if it is nil, navigator will not init signature help signature_help_cfg = { debug = false }, -- if you would like to init ray-x/lsp_signature plugin in navigator, pass in signature help - ctags = { cmd = 'ctags', tagfile = '.tags' }, + ctags = { cmd = 'ctags', tagfile = '.tags', options = '-R --exclude=.git --exclude=node_modules --exclude=test --exclude=vendor --excmd=number', + }, lsp = { enable = true, -- if disabled make sure add require('navigator.lspclient.mapping').setup() in you on_attach code_action = {