This commit is contained in:
abs3nt 2023-03-02 19:12:25 -08:00
parent 860fb20c50
commit 47a45d834d

View File

@ -9,13 +9,14 @@ return {
{ {
'fatih/vim-go', 'fatih/vim-go',
ft = { "go", "gomod" },
config = function() config = function()
vim.g.go_fmt_command = "gofumpt" vim.g.go_fmt_command = "gofumpt"
vim.g.go_highlight_types = 1 vim.g.go_highlight_types = 1
vim.g.go_highlight_fields = 1 vim.g.go_highlight_fields = 1
vim.g.go_highlight_functions = 1 vim.g.go_highlight_functions = 1
vim.g.go_highlight_function_calls = 1 vim.g.go_highlight_function_calls = 1
vim.g.go_auto_type_info = 1 vim.g.go_metalinter_command = 'golangci-lint'
end end
}, },
@ -43,43 +44,6 @@ return {
end 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', 'mrshmllow/document-color.nvim',
config = function() config = function()
@ -155,18 +119,12 @@ return {
-- file explorer -- file explorer
{ {
'kyazdani42/nvim-tree.lua', 'kyazdani42/nvim-tree.lua',
tag = 'nightly',
dependencies = { 'kyazdani42/nvim-web-devicons' }, dependencies = { 'kyazdani42/nvim-web-devicons' },
config = function() config = function()
require('nvim-tree').setup { require('nvim-tree').setup {
sort_by = "case_sensitive", sort_by = "case_sensitive",
view = { view = {
adaptive_size = true, adaptive_size = true,
mappings = {
list = {
{ key = "u", action = "dir_up" },
},
},
}, },
renderer = { renderer = {
group_empty = true, group_empty = true,