updates
This commit is contained in:
parent
860fb20c50
commit
47a45d834d
@ -9,13 +9,14 @@ return {
|
||||
|
||||
{
|
||||
'fatih/vim-go',
|
||||
ft = { "go", "gomod" },
|
||||
config = function()
|
||||
vim.g.go_fmt_command = "gofumpt"
|
||||
vim.g.go_highlight_types = 1
|
||||
vim.g.go_highlight_fields = 1
|
||||
vim.g.go_highlight_functions = 1
|
||||
vim.g.go_highlight_function_calls = 1
|
||||
vim.g.go_auto_type_info = 1
|
||||
vim.g.go_metalinter_command = 'golangci-lint'
|
||||
end
|
||||
},
|
||||
|
||||
@ -43,43 +44,6 @@ return {
|
||||
end
|
||||
},
|
||||
|
||||
{
|
||||
"folke/noice.nvim",
|
||||
config = function()
|
||||
require("noice").setup({
|
||||
lsp = {
|
||||
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
|
||||
override = {
|
||||
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
|
||||
["vim.lsp.util.stylize_markdown"] = true,
|
||||
["cmp.entry.get_documentation"] = true,
|
||||
},
|
||||
},
|
||||
-- you can enable a preset for easier configuration
|
||||
presets = {
|
||||
bottom_search = true, -- use a classic bottom cmdline for search
|
||||
command_palette = true, -- position the cmdline and popupmenu together
|
||||
long_message_to_split = true, -- long messages will be sent to a split
|
||||
inc_rename = false, -- enables an input dialog for inc-rename.nvim
|
||||
lsp_doc_border = false, -- add a border to hover docs and signature help
|
||||
},
|
||||
})
|
||||
end,
|
||||
dependencies = {
|
||||
"MunifTanjim/nui.nvim",
|
||||
"rcarriga/nvim-notify"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"rcarriga/nvim-notify",
|
||||
config = function()
|
||||
require("notify").setup({
|
||||
background_colour = "#000000",
|
||||
})
|
||||
end
|
||||
},
|
||||
|
||||
{
|
||||
'mrshmllow/document-color.nvim',
|
||||
config = function()
|
||||
@ -155,18 +119,12 @@ return {
|
||||
-- file explorer
|
||||
{
|
||||
'kyazdani42/nvim-tree.lua',
|
||||
tag = 'nightly',
|
||||
dependencies = { 'kyazdani42/nvim-web-devicons' },
|
||||
config = function()
|
||||
require('nvim-tree').setup {
|
||||
sort_by = "case_sensitive",
|
||||
view = {
|
||||
adaptive_size = true,
|
||||
mappings = {
|
||||
list = {
|
||||
{ key = "u", action = "dir_up" },
|
||||
},
|
||||
},
|
||||
},
|
||||
renderer = {
|
||||
group_empty = true,
|
||||
|
Loading…
Reference in New Issue
Block a user