remove unused navic defaults in preparation for plugin

This commit is contained in:
Baipyrus 2024-11-20 11:10:39 +01:00
parent 735b2ed90b
commit 3841ef2309
3 changed files with 1 additions and 18 deletions

View File

@ -22,8 +22,8 @@
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
"nvim-lint": { "branch": "master", "commit": "b3ab4ba88845893663d0b7122ee82921adf28358" }, "nvim-lint": { "branch": "master", "commit": "b3ab4ba88845893663d0b7122ee82921adf28358" },
"nvim-lspconfig": { "branch": "master", "commit": "541f3a2781de481bb84883889e4d9f0904250a56" }, "nvim-lspconfig": { "branch": "master", "commit": "541f3a2781de481bb84883889e4d9f0904250a56" },
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
"nvim-treesitter": { "branch": "master", "commit": "03452942dfbd998701d4123ccad2090e1bc7e9f1" }, "nvim-treesitter": { "branch": "master", "commit": "03452942dfbd998701d4123ccad2090e1bc7e9f1" },
"nvim-treesitter-context": { "branch": "master", "commit": "78a81c7494e7d1a08dd1200b556933e513fd9f29" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "0d79d169fcd45a8da464727ac893044728f121d4" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "0d79d169fcd45a8da464727ac893044728f121d4" },
"nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" }, "nvim-web-devicons": { "branch": "master", "commit": "19d257cf889f79f4022163c3fbb5e08639077bd8" },
"oil.nvim": { "branch": "master", "commit": "39dbf875861449cf09e936fa80073f3413e9439c" }, "oil.nvim": { "branch": "master", "commit": "39dbf875861449cf09e936fa80073f3413e9439c" },

View File

@ -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 -- Ensure the servers and tools above are installed
-- To check the current status of installed tools and/or manually install -- To check the current status of installed tools and/or manually install
-- other tools, you can run -- other tools, you can run

View File

@ -96,9 +96,6 @@ vim.opt.guicursor = 'n-v-i-c:block-Cursor'
vim.o.laststatus = 3 vim.o.laststatus = 3
vim.api.nvim_set_hl(0, 'WinSeparator', { bg = nil }) 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', { vim.api.nvim_create_autocmd('UIEnter', {
group = vim.api.nvim_create_augroup('SetGUISettings', { clear = true }), group = vim.api.nvim_create_augroup('SetGUISettings', { clear = true }),
callback = function() callback = function()