Skip to content

Commit

Permalink
refac(navbuddy): ease config
Browse files Browse the repository at this point in the history
  • Loading branch information
n3wborn committed Sep 21, 2023
1 parent 0d77eea commit eb07439
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
6 changes: 1 addition & 5 deletions lua/plugins/lsp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ return {
'SmiteshP/nvim-navic',
'MunifTanjim/nui.nvim',
},
opts = { lsp = { auto_attach = true } },
},
},
config = function()
Expand Down Expand Up @@ -231,11 +232,6 @@ return {
--- quickfix
u.buf_command(bufnr, 'LspDiagQuickfix', vim.diagnostic.setqflist)
u.buf_map(bufnr, 'n', '<leader>q', ':LspDiagQuickfix<CR>')

-- show current context in statusline/winbar
if client.server_capabilities.documentSymbolProvider then
require('nvim-navbuddy').attach(client, bufnr)
end
end

local capabilities = require('cmp_nvim_lsp').default_capabilities()
Expand Down
28 changes: 0 additions & 28 deletions lua/plugins/navbuddy.lua

This file was deleted.

0 comments on commit eb07439

Please sign in to comment.