update config
This commit is contained in:
parent
abeeda05ce
commit
b9856e9601
191
init.lua
191
init.lua
|
|
@ -1320,6 +1320,46 @@ require('lazy').setup({
|
||||||
vim.g.wiki_root = '~/Documents/Developer/'
|
vim.g.wiki_root = '~/Documents/Developer/'
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
-- Lazy
|
||||||
|
{
|
||||||
|
'piersolenski/import.nvim',
|
||||||
|
dependencies = {
|
||||||
|
-- One of the following pickers is required:
|
||||||
|
'nvim-telescope/telescope.nvim',
|
||||||
|
-- 'folke/snacks.nvim',
|
||||||
|
-- 'ibhagwan/fzf-lua',
|
||||||
|
},
|
||||||
|
opts = {
|
||||||
|
picker = 'telescope',
|
||||||
|
},
|
||||||
|
keys = {
|
||||||
|
{
|
||||||
|
'<leader>i',
|
||||||
|
function()
|
||||||
|
require('import').pick()
|
||||||
|
end,
|
||||||
|
desc = 'Import',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'dimtion/guttermarks.nvim',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'retran/meow.yarn.nvim',
|
||||||
|
dependencies = { 'MunifTanjim/nui.nvim' },
|
||||||
|
config = function()
|
||||||
|
require('meow.yarn').setup {
|
||||||
|
-- Your custom configuration goes here
|
||||||
|
}
|
||||||
|
|
||||||
|
vim.keymap.set('n', '<leader>yS', '<Cmd>MeowYarn type super<CR>', { desc = 'Yarn: Super Types' })
|
||||||
|
vim.keymap.set('n', '<leader>ys', '<Cmd>MeowYarn type sub<CR>', { desc = 'Yarn: Sub Types' })
|
||||||
|
vim.keymap.set('n', '<leader>yC', '<Cmd>MeowYarn call callers<CR>', { desc = 'Yarn: Callers' })
|
||||||
|
vim.keymap.set('n', '<leader>yc', '<Cmd>MeowYarn call callees<CR>', { desc = 'Yarn: Callees' })
|
||||||
|
end,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
'NickvanDyke/opencode.nvim',
|
'NickvanDyke/opencode.nvim',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
|
@ -1407,82 +1447,81 @@ require('lazy').setup({
|
||||||
desc = 'Explain code near cursor',
|
desc = 'Explain code near cursor',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
-- {
|
||||||
{
|
-- 'dmtrKovalenko/fff.nvim',
|
||||||
'dmtrKovalenko/fff.nvim',
|
-- build = 'cargo build --release',
|
||||||
build = 'cargo build --release',
|
-- -- or if you are using nixos
|
||||||
-- or if you are using nixos
|
-- -- build = "nix run .#release",
|
||||||
-- build = "nix run .#release",
|
-- opts = { -- (optional)
|
||||||
opts = { -- (optional)
|
-- debug = {
|
||||||
debug = {
|
-- enabled = true, -- we expect your collaboration at least during the beta
|
||||||
enabled = true, -- we expect your collaboration at least during the beta
|
-- show_scores = true, -- to help us optimize the scoring system, feel free to share your scores!
|
||||||
show_scores = true, -- to help us optimize the scoring system, feel free to share your scores!
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- -- No need to lazy-load with lazy.nvim.
|
||||||
-- No need to lazy-load with lazy.nvim.
|
-- -- This plugin initializes itself lazily.
|
||||||
-- This plugin initializes itself lazily.
|
-- lazy = false,
|
||||||
lazy = false,
|
-- keys = {
|
||||||
keys = {
|
-- {
|
||||||
{
|
-- 'ff', -- try it if you didn't it is a banger keybinding for a picker
|
||||||
'ff', -- try it if you didn't it is a banger keybinding for a picker
|
-- function()
|
||||||
function()
|
-- require('fff').find_files()
|
||||||
require('fff').find_files()
|
-- end,
|
||||||
end,
|
-- desc = 'FFFind files',
|
||||||
desc = 'FFFind files',
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- {
|
||||||
{
|
-- 'oribarilan/lensline.nvim',
|
||||||
'oribarilan/lensline.nvim',
|
-- tag = 'release/1.1', -- or: branch = 'release/1.x' for latest non-breaking updates
|
||||||
tag = '1.1.0', -- or: branch = 'release/1.x' for latest non-breaking updates
|
-- event = 'LspAttach',
|
||||||
event = 'LspAttach',
|
-- config = function()
|
||||||
config = function()
|
-- require('lensline').setup {
|
||||||
require('lensline').setup {
|
-- providers = { -- Array format: order determines display sequence
|
||||||
providers = { -- Array format: order determines display sequence
|
-- {
|
||||||
{
|
-- name = 'references',
|
||||||
name = 'references',
|
-- enabled = true, -- enable references provider
|
||||||
enabled = true, -- enable references provider
|
-- quiet_lsp = true, -- suppress noisy LSP log messages (e.g., Pyright reference spam)
|
||||||
quiet_lsp = true, -- suppress noisy LSP log messages (e.g., Pyright reference spam)
|
-- },
|
||||||
},
|
-- {
|
||||||
{
|
-- name = 'last_author',
|
||||||
name = 'last_author',
|
-- enabled = true, -- enabled by default with caching optimization
|
||||||
enabled = true, -- enabled by default with caching optimization
|
-- cache_max_files = 50, -- maximum number of files to cache blame data for (default: 50)
|
||||||
cache_max_files = 50, -- maximum number of files to cache blame data for (default: 50)
|
-- },
|
||||||
},
|
-- -- built-in providers that are diabled by default:
|
||||||
-- built-in providers that are diabled by default:
|
-- {
|
||||||
{
|
-- name = 'diagnostics',
|
||||||
name = 'diagnostics',
|
-- enabled = false, -- disabled by default - enable explicitly to use
|
||||||
enabled = false, -- disabled by default - enable explicitly to use
|
-- min_level = 'WARN', -- only show WARN and ERROR by default (HINT, INFO, WARN, ERROR)
|
||||||
min_level = 'WARN', -- only show WARN and ERROR by default (HINT, INFO, WARN, ERROR)
|
-- },
|
||||||
},
|
-- {
|
||||||
{
|
-- name = 'complexity',
|
||||||
name = 'complexity',
|
-- enabled = true, -- disabled by default - enable explicitly to use
|
||||||
enabled = true, -- disabled by default - enable explicitly to use
|
-- min_level = 'L', -- only show L (Large) and XL (Extra Large) complexity by default
|
||||||
min_level = 'L', -- only show L (Large) and XL (Extra Large) complexity by default
|
-- },
|
||||||
},
|
-- },
|
||||||
},
|
-- style = {
|
||||||
style = {
|
-- separator = ' • ', -- separator between all lens attributes
|
||||||
separator = ' • ', -- separator between all lens attributes
|
-- highlight = 'Comment', -- highlight group for lens text
|
||||||
highlight = 'Comment', -- highlight group for lens text
|
-- prefix = '┃ ', -- prefix before lens content
|
||||||
prefix = '┃ ', -- prefix before lens content
|
-- placement = 'above', -- "above" | "inline" - where to render lenses (consider prefix = "" for inline)
|
||||||
placement = 'above', -- "above" | "inline" - where to render lenses (consider prefix = "" for inline)
|
-- use_nerdfont = true, -- enable nerd font icons in built-in providers
|
||||||
use_nerdfont = true, -- enable nerd font icons in built-in providers
|
-- },
|
||||||
},
|
-- render = 'all', -- "all" | "focused" (only active window's focused function)
|
||||||
render = 'all', -- "all" | "focused" (only active window's focused function)
|
-- limits = {
|
||||||
limits = {
|
-- exclude = {
|
||||||
exclude = {
|
-- -- see config.lua for extensive list of default patterns
|
||||||
-- see config.lua for extensive list of default patterns
|
-- },
|
||||||
},
|
-- exclude_gitignored = true, -- respect .gitignore by not processing ignored files
|
||||||
exclude_gitignored = true, -- respect .gitignore by not processing ignored files
|
-- max_lines = 1000, -- process only first N lines of large files
|
||||||
max_lines = 1000, -- process only first N lines of large files
|
-- max_lenses = 70, -- skip rendering if too many lenses generated
|
||||||
max_lenses = 70, -- skip rendering if too many lenses generated
|
-- },
|
||||||
},
|
-- debounce_ms = 500, -- unified debounce delay for all providers
|
||||||
debounce_ms = 500, -- unified debounce delay for all providers
|
-- focused_debounce_ms = 150, -- debounce delay for focus tracking in focused mode
|
||||||
focused_debounce_ms = 150, -- debounce delay for focus tracking in focused mode
|
-- debug_mode = false, -- enable debug output for development, see CONTRIBUTE.md
|
||||||
debug_mode = false, -- enable debug output for development, see CONTRIBUTE.md
|
-- }
|
||||||
}
|
-- end,
|
||||||
end,
|
-- },
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
|
||||||
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
-- The following comments only work if you have downloaded the kickstart repo, not just copy pasted the
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue