diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 395a70e..d37aed4 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -15,18 +15,7 @@ vim.opt.rtp:prepend(lazypath) -- Installing plugins require('lazy').setup({ - { - "catppuccin/nvim", - name = "catppuccin", - config = function() - require("catppuccin").setup({ - flavour = "macchiato", - integrations = { - navic = true, - }, - }) - end - }, -- Color scheme + { "catppuccin/nvim", name = "catppuccin" }, -- Color scheme { dir = "./lua/term_powershell.lua", cond = function() @@ -144,18 +133,6 @@ require('lazy').setup({ 'folke/trouble.nvim', -- config = function }, - { - 'SmiteshP/nvim-navic', - -- event = 'BufReadPre', - dependencies = { - 'neovim/nvim-lspconfig', - }, - config = function() - require 'nvim-navic'.setup { - highlight = true, - } - end - }, { 'Julian/lean.nvim', event = { 'BufReadPre *.lean', 'BufNewFile *.lean' }, @@ -492,7 +469,6 @@ require 'nvim-treesitter.configs'.setup { -- LSP config local lspconfig = require 'lspconfig' -local navic = require 'nvim-navic' -- Mapping for language server -- See `:help vim.diagnostic.* for documentation on any of the below functions @@ -526,10 +502,6 @@ local on_attach = function(client, bufnr) vim.keymap.set('n', 'ca', vim.lsp.buf.code_action, bufopts) vim.keymap.set('n', 'grf', vim.lsp.buf.references, bufopts) vim.keymap.set('n', 'f', function() vim.lsp.buf.format { async = true } end, bufopts) - - if client.server_capabilities.documentSymbolProvider then - navic.attach(client, bufnr) - end end -- cmp_nvim_lsp supports additional LSP completion capabilities diff --git a/dotfiles/neovim/lua/lualine_setup.lua b/dotfiles/neovim/lua/lualine_setup.lua index c88bb4a..7f412d4 100644 --- a/dotfiles/neovim/lua/lualine_setup.lua +++ b/dotfiles/neovim/lua/lualine_setup.lua @@ -7,8 +7,6 @@ local lsp_names = function () return ' ' .. table.concat(clients, ', ') end -local navic = require('nvim-navic') - require('lualine').setup { options = { icons_enabled = true, @@ -45,15 +43,7 @@ require('lualine').setup { lualine_z = {} }, tabline = {}, - winbar = { - lualine_c = { - { - "navic", - color_correction = nil, - navic_opts = nil, - }, - }, - }, + winbar = {}, inactive_winbar = {}, extensions = {} }