added several tools for nvim
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
|
||||
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
|
||||
"cmp-nvim-lua": { "branch": "main", "commit": "e3a22cb071eb9d6508a156306b102c45cd2d573d" },
|
||||
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
||||
"cmp-tabnine": { "branch": "main", "commit": "c0167cdc86c15e782c5461ee62aebee89231c2ed" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
@@ -45,6 +46,7 @@
|
||||
"obsidian.nvim": { "branch": "main", "commit": "ae1f76a75c7ce36866e1d9342a8f6f5b9c2caf9b" },
|
||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||
"portal.nvim": { "branch": "main", "commit": "77d9d53fec945bfa407d5fd7120f1b4f117450ed" },
|
||||
"rainbow-delimiters.nvim": { "branch": "master", "commit": "8aafe2cbd89cd4090f573a98cab6b20366576fde" },
|
||||
"telescope-ui-select.nvim": { "branch": "master", "commit": "6e51d7da30bd139a6950adf2a47fda6df9fa06d2" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "3d757e586ff0bfc85bdb7b46c9d3d932147a0cde" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
return {
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
main = "ibl",
|
||||
config = function()
|
||||
require("ibl").setup({
|
||||
indent = {
|
||||
char = "│",
|
||||
},
|
||||
scope = {
|
||||
enabled = true,
|
||||
show_start = true,
|
||||
show_end = false,
|
||||
},
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
@@ -2,12 +2,19 @@ return {
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
{
|
||||
"hrsh7th/cmp-cmdline", -- NEW: Command line completion
|
||||
},
|
||||
{
|
||||
"hrsh7th/cmp-nvim-lua", -- NEW: Better Neovim Lua API completion
|
||||
},
|
||||
{
|
||||
"L3MON4D3/LuaSnip",
|
||||
-- follow latest release.
|
||||
version = "v2.*", -- Replace <CurrentMajor> by the latest released major (first number of latest release)
|
||||
-- install jsregexp (optional!).
|
||||
build = "make install_jsregexp"
|
||||
version = "v2.*",
|
||||
build = "make install_jsregexp",
|
||||
dependencies = {
|
||||
"rafamadriz/friendly-snippets", -- Pre-made snippets
|
||||
},
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
|
||||
@@ -2,17 +2,40 @@ return {
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
main = "ibl",
|
||||
event = { "BufReadPost", "BufNewFile" },
|
||||
config = function()
|
||||
require("ibl").setup({
|
||||
indent = {
|
||||
char = "│",
|
||||
char = "▏",
|
||||
},
|
||||
scope = {
|
||||
enabled = true,
|
||||
char = "▏", -- Same character, different color
|
||||
show_start = true,
|
||||
show_end = false,
|
||||
show_end = true,
|
||||
},
|
||||
exclude = {
|
||||
filetypes = {
|
||||
"help",
|
||||
"alpha",
|
||||
"dashboard",
|
||||
"lazy",
|
||||
"mason",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
-- Very subtle gray for all indent lines
|
||||
vim.api.nvim_set_hl(0, "IblIndent", { fg = "#313244" })
|
||||
|
||||
-- Soft accent for current scope (choose one):
|
||||
-- Blue:
|
||||
vim.api.nvim_set_hl(0, "IblScope", { fg = "#5E81AC" })
|
||||
|
||||
-- Or Purple:
|
||||
-- vim.api.nvim_set_hl(0, "IblScope", { fg = "#B48EAD" })
|
||||
-- Or Green:
|
||||
-- vim.api.nvim_set_hl(0, "IblScope", { fg = "#A3BE8C" })
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ return {
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
-- Formatters (you already have these)
|
||||
"stylua",
|
||||
"luaformatter",
|
||||
"prettier",
|
||||
"rubocop",
|
||||
"black",
|
||||
|
||||
8
nvim/.config/nvim/lua/plugins/rainbow.lua
Normal file
8
nvim/.config/nvim/lua/plugins/rainbow.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
return {
|
||||
{
|
||||
"HiPhish/rainbow-delimiters.nvim",
|
||||
config = function()
|
||||
require("rainbow-delimiters.setup").setup()
|
||||
end,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user