Add fidget and increname to vim
parent
ff7d9b21cc
commit
360c7829ac
|
@ -35,7 +35,7 @@ return require("lazy").setup({
|
||||||
{ "romainl/vim-devdocs", cmd = "DD" }, -- Quick DevDocs.io search using :DD
|
{ "romainl/vim-devdocs", cmd = "DD" }, -- Quick DevDocs.io search using :DD
|
||||||
"gpanders/editorconfig.nvim", -- .editorconfig support
|
"gpanders/editorconfig.nvim", -- .editorconfig support
|
||||||
"lewis6991/impatient.nvim", -- Caching lua modules for faster startup
|
"lewis6991/impatient.nvim", -- Caching lua modules for faster startup
|
||||||
"rcarriga/nvim-notify", -- notifications UI
|
"j-hui/fidget.nvim", -- notifications UI
|
||||||
"MunifTanjim/nui.nvim", -- General UI
|
"MunifTanjim/nui.nvim", -- General UI
|
||||||
"jiangmiao/auto-pairs", -- Autoclosing of brackets and quotes
|
"jiangmiao/auto-pairs", -- Autoclosing of brackets and quotes
|
||||||
|
|
||||||
|
@ -137,6 +137,12 @@ return require("lazy").setup({
|
||||||
"hrsh7th/nvim-cmp", -- completion integration
|
"hrsh7th/nvim-cmp", -- completion integration
|
||||||
"mhartington/formatter.nvim", -- formatting support
|
"mhartington/formatter.nvim", -- formatting support
|
||||||
"mfussenegger/nvim-lint", -- linting support
|
"mfussenegger/nvim-lint", -- linting support
|
||||||
|
{
|
||||||
|
"smjonas/inc-rename.nvim",
|
||||||
|
config = function()
|
||||||
|
require("inc_rename").setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
-- LSP language specific
|
-- LSP language specific
|
||||||
"folke/neodev.nvim", -- Built-in Lua integration with LSP
|
"folke/neodev.nvim", -- Built-in Lua integration with LSP
|
||||||
|
|
|
@ -10,7 +10,9 @@ local function on_attach(client, bufnr)
|
||||||
vim.keymap.set("n", "gD", vim.lsp.buf.declaration, opts)
|
vim.keymap.set("n", "gD", vim.lsp.buf.declaration, opts)
|
||||||
vim.keymap.set("n", "gr", vim.lsp.buf.references, opts)
|
vim.keymap.set("n", "gr", vim.lsp.buf.references, opts)
|
||||||
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, opts)
|
vim.keymap.set("n", "gi", vim.lsp.buf.implementation, opts)
|
||||||
vim.keymap.set("n", "<Leader>rn", vim.lsp.buf.rename, opts)
|
vim.keymap.set("n", "<Leader>rn", function()
|
||||||
|
return ":IncRename " .. vim.fn.expand("<cword>")
|
||||||
|
end, vim.tbl_extend("force", opts, { expr = true }))
|
||||||
vim.keymap.set({ "n", "i" }, "<A-k>", vim.lsp.buf.signature_help, opts)
|
vim.keymap.set({ "n", "i" }, "<A-k>", vim.lsp.buf.signature_help, opts)
|
||||||
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
|
||||||
vim.keymap.set("n", "<A-CR>", vim.lsp.buf.code_action, opts)
|
vim.keymap.set("n", "<A-CR>", vim.lsp.buf.code_action, opts)
|
||||||
|
|
|
@ -21,7 +21,6 @@ require("telescope").setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
require("telescope").load_extension("dap")
|
require("telescope").load_extension("dap")
|
||||||
require("telescope").load_extension("notify")
|
|
||||||
require("telescope").load_extension("ui-select")
|
require("telescope").load_extension("ui-select")
|
||||||
|
|
||||||
vim.keymap.set("n", "<C-P>", function()
|
vim.keymap.set("n", "<C-P>", function()
|
||||||
|
|
|
@ -3,12 +3,9 @@ local input = require("nui.input")
|
||||||
local event = require("nui.utils.autocmd").event
|
local event = require("nui.utils.autocmd").event
|
||||||
|
|
||||||
-- Notifications
|
-- Notifications
|
||||||
local notify = require("notify")
|
local fidget = require("fidget")
|
||||||
notify.setup({
|
fidget.setup()
|
||||||
render = "minimal",
|
vim.notify = fidget.notify
|
||||||
stages = "static",
|
|
||||||
})
|
|
||||||
vim.notify = notify
|
|
||||||
|
|
||||||
-- Inputs
|
-- Inputs
|
||||||
local input_ui
|
local input_ui
|
||||||
|
|
Loading…
Reference in New Issue