mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-03-28 10:24:47 +01:00
NVIM: Added some plugins
This commit is contained in:
24
.config/nvim/lua/plugins/dial.lua
Normal file
24
.config/nvim/lua/plugins/dial.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
return {
|
||||
-- improves vims increment and decrement functions
|
||||
"monaqa/dial.nvim",
|
||||
config = function()
|
||||
local augend = require("dial.augend")
|
||||
require("dial.config").augends:register_group{
|
||||
default = {
|
||||
augend.integer.alias.decimal,
|
||||
augend.integer.alias.hex,
|
||||
augend.date.alias["%Y/%m/%d"],
|
||||
augend.date.alias["%d.%m.%Y"],
|
||||
augend.date.alias["%d.%m.%y"],
|
||||
augend.date.alias["%H:%M"],
|
||||
augend.constant.alias.de_weekday,
|
||||
augend.constant.alias.de_weekday_full,
|
||||
augend.constant.alias.bool,
|
||||
augend.constant.alias.Bool,
|
||||
augend.semver.alias.semver,
|
||||
augend.constant.alias.en_weekday,
|
||||
augend.constant.alias.en_weekday_full,
|
||||
},
|
||||
}
|
||||
end
|
||||
}
|
||||
@@ -3,6 +3,9 @@ return {
|
||||
"rmagatti/goto-preview",
|
||||
dependencies = "rmagatti/logger.nvim",
|
||||
config = function()
|
||||
require("goto-preview").setup({})
|
||||
require("goto-preview").setup({
|
||||
border = "rounded",
|
||||
preview_window_title = { enable = true, position = "center" },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ return {
|
||||
require("leap").opts.equivalence_classes = { " \t\r\n", "([{", ")]}", "'\"`" }
|
||||
require("leap").opts.special_keys.prev_target = "<backspace>"
|
||||
require("leap").opts.special_keys.prev_group = "<backspace>"
|
||||
require("leap.user").set_repeat_keys("<enter>", "<backspace>")
|
||||
require("leap").opts.safe_labels = "sfnut/SFNLHMUGTZ?"
|
||||
require("leap").opts.labels = "sfnjklhodweimbuyvrgtaqpcxz/SFNJKLHODWEIMBUYVRGTAQPCXZ?"
|
||||
end,
|
||||
|
||||
13
.config/nvim/lua/plugins/tiny-inline-diagnostic.lua
Normal file
13
.config/nvim/lua/plugins/tiny-inline-diagnostic.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
return {
|
||||
-- display inline diagnostics
|
||||
"rachartier/tiny-inline-diagnostic.nvim",
|
||||
event = "VeryLazy",
|
||||
priority = 1000,
|
||||
config = function()
|
||||
require("tiny-inline-diagnostic").setup({
|
||||
preset = "classic",
|
||||
transparent_bg = true,
|
||||
})
|
||||
vim.diagnostic.config({ virtual_text = false })
|
||||
end,
|
||||
}
|
||||
8
.config/nvim/lua/plugins/treesj.lua
Normal file
8
.config/nvim/lua/plugins/treesj.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
-- improves splitting and joining blocks
|
||||
'Wansmer/treesj',
|
||||
dependencies = { 'nvim-treesitter/nvim-treesitter' },
|
||||
config = function()
|
||||
require('treesj').setup()
|
||||
end,
|
||||
}
|
||||
4
.config/nvim/lua/plugins/treewalker.lua
Normal file
4
.config/nvim/lua/plugins/treewalker.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
return {
|
||||
-- improved movement for code
|
||||
"aaronik/treewalker.nvim",
|
||||
}
|
||||
Reference in New Issue
Block a user