feat(plugin): remove nvim-navic
feat(plugin): remove nvim-navic
This commit is contained in:
parent
cd7e91f688
commit
3f05e62ac8
1
init.lua
1
init.lua
|
@ -31,7 +31,6 @@ require("config.plugins.hover_actions")
|
||||||
require("config.plugins.lsp_config")
|
require("config.plugins.lsp_config")
|
||||||
require("config.plugins.lsp_diagnostic")
|
require("config.plugins.lsp_diagnostic")
|
||||||
require("config.plugins.lualine")
|
require("config.plugins.lualine")
|
||||||
require("config.plugins.navic")
|
|
||||||
require("config.plugins.noice")
|
require("config.plugins.noice")
|
||||||
require("toggleterm").setup()
|
require("toggleterm").setup()
|
||||||
require("config.plugins.telescope")
|
require("config.plugins.telescope")
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
local navic = require("nvim-navic")
|
|
||||||
|
|
||||||
navic.setup {
|
|
||||||
icons = {
|
|
||||||
File = " ",
|
|
||||||
Module = " ",
|
|
||||||
Namespace = " ",
|
|
||||||
Package = " ",
|
|
||||||
Class = " ",
|
|
||||||
Method = " ",
|
|
||||||
Property = " ",
|
|
||||||
Field = " ",
|
|
||||||
Constructor = " ",
|
|
||||||
Enum = "",
|
|
||||||
Interface = "",
|
|
||||||
Function = " ",
|
|
||||||
Variable = " ",
|
|
||||||
Constant = " ",
|
|
||||||
String = " ",
|
|
||||||
Number = " ",
|
|
||||||
Boolean = "◩ ",
|
|
||||||
Array = " ",
|
|
||||||
Object = " ",
|
|
||||||
Key = " ",
|
|
||||||
Null = " ",
|
|
||||||
EnumMember = " ",
|
|
||||||
Struct = " ",
|
|
||||||
Event = " ",
|
|
||||||
Operator = " ",
|
|
||||||
TypeParameter = " ",
|
|
||||||
},
|
|
||||||
lsp = {
|
|
||||||
auto_attach = true,
|
|
||||||
preference = nil,
|
|
||||||
},
|
|
||||||
highlight = true,
|
|
||||||
seperator = ' ',
|
|
||||||
depth_limit = 0,
|
|
||||||
depth_limit_indicator = "..",
|
|
||||||
safe_output = true,
|
|
||||||
lazy_update_context = false,
|
|
||||||
click = false,
|
|
||||||
format_text = function(text)
|
|
||||||
return text
|
|
||||||
end,
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
local navic = require("nvim-navic")
|
|
||||||
|
|
||||||
vim.g.rustaceanvim = {
|
vim.g.rustaceanvim = {
|
||||||
server = {
|
server = {
|
||||||
on_attach = function(client, bufnr)
|
|
||||||
navic.attach(client, bufnr)
|
|
||||||
end,
|
|
||||||
settings = {
|
settings = {
|
||||||
['rust-analyzer'] = {
|
['rust-analyzer'] = {
|
||||||
procMacro = {
|
procMacro = {
|
||||||
|
|
|
@ -32,9 +32,6 @@ return {
|
||||||
{
|
{
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"SmiteshP/nvim-navic",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"kyazdani42/nvim-web-devicons"
|
"kyazdani42/nvim-web-devicons"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue