From 3841ef2309310ff899e6ab14d327e26e9f03145f Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Wed, 20 Nov 2024 11:10:39 +0100 Subject: [PATCH] remove unused navic defaults in preparation for plugin --- lazy-lock.json | 2 +- lua/kickstart/plugins/lspconfig.lua | 14 -------------- lua/options.lua | 3 --- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 518f25e..7362c1d 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -22,8 +22,8 @@ "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-lint": { "branch": "master", "commit": "b3ab4ba88845893663d0b7122ee82921adf28358" }, "nvim-lspconfig": { "branch": "master", "commit": "541f3a2781de481bb84883889e4d9f0904250a56" }, + "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" }, "nvim-treesitter": { "branch": "master", "commit": "03452942dfbd998701d4123ccad2090e1bc7e9f1" }, - "nvim-treesitter-context": { "branch": "master", "commit": "78a81c7494e7d1a08dd1200b556933e513fd9f29" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "0d79d169fcd45a8da464727ac893044728f121d4" }, "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" }, "oil.nvim": { "branch": "master", "commit": "39dbf875861449cf09e936fa80073f3413e9439c" }, diff --git a/lua/kickstart/plugins/lspconfig.lua b/lua/kickstart/plugins/lspconfig.lua index c02ff82..f6a5946 100644 --- a/lua/kickstart/plugins/lspconfig.lua +++ b/lua/kickstart/plugins/lspconfig.lua @@ -209,20 +209,6 @@ return { }, } - -- Setup code context via nvim-navic - require('nvim-navic').setup { - lsp = { - auto_attach = true, - preference = { - 'svelte', - 'intelephense', - 'ts_ls', - 'tailwindcss', - }, - }, - highlight = true, - } - -- Ensure the servers and tools above are installed -- To check the current status of installed tools and/or manually install -- other tools, you can run diff --git a/lua/options.lua b/lua/options.lua index 2dd38a9..a43fa62 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -96,9 +96,6 @@ vim.opt.guicursor = 'n-v-i-c:block-Cursor' vim.o.laststatus = 3 vim.api.nvim_set_hl(0, 'WinSeparator', { bg = nil }) --- Set winbar to nvim-navic for code context -vim.o.winbar = "%{%v:lua.require'nvim-navic'.get_location()%}" - vim.api.nvim_create_autocmd('UIEnter', { group = vim.api.nvim_create_augroup('SetGUISettings', { clear = true }), callback = function()