mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2025-07-01 23:19:25 +00:00
[neovim] Update plugins
This commit is contained in:
@ -235,13 +235,11 @@ require("lazy").setup({
|
||||
{ "mfussenegger/nvim-dap", event = "VeryLazy", version = "0.*" },
|
||||
{ "rcarriga/nvim-dap-ui", event = "VeryLazy", version = "v4.*" },
|
||||
{ "theHamsta/nvim-dap-virtual-text", event = "VeryLazy" },
|
||||
{ "mfussenegger/nvim-dap-python" },
|
||||
|
||||
-- Python
|
||||
{
|
||||
"linux-cultist/venv-selector.nvim",
|
||||
dependencies = {
|
||||
"mfussenegger/nvim-dap-python",
|
||||
},
|
||||
lazy = false,
|
||||
branch = "regexp",
|
||||
config = function()
|
||||
|
@ -2,7 +2,6 @@ require("go").setup({
|
||||
icons = { breakpoint = "", currentpos = "🏃" },
|
||||
fillstruct = "fillstruct",
|
||||
gofmt = "gofumpt",
|
||||
lsp_gofumpt = true,
|
||||
diagnostic = false,
|
||||
})
|
||||
|
||||
@ -11,4 +10,13 @@ require("guihua.maps").setup({
|
||||
})
|
||||
|
||||
vim.cmd("autocmd FileType go nmap <Leader>gf :lua require('go.format').goimport()<CR>")
|
||||
vim.api.nvim_exec([[ autocmd BufWritePre *.go :silent! lua require('go.format').goimport() ]], false)
|
||||
|
||||
local format_sync_grp = vim.api.nvim_create_augroup("GoFormat", {})
|
||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||
pattern = "*.go",
|
||||
callback = function()
|
||||
require('go.format').goimports()
|
||||
end,
|
||||
group = format_sync_grp,
|
||||
})
|
||||
|
||||
|
@ -46,6 +46,13 @@ require("noice").setup({
|
||||
},
|
||||
opts = { skip = true },
|
||||
},
|
||||
{
|
||||
filter = {
|
||||
event = "notify",
|
||||
kind = "debug",
|
||||
},
|
||||
opts = { skip = true },
|
||||
},
|
||||
{
|
||||
view = "popup",
|
||||
filter = {
|
||||
|
Reference in New Issue
Block a user