-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refac: extract ui plugins in their own file * chore(lazy): update lazy-lock.json
- Loading branch information
Showing
8 changed files
with
102 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
return { | ||
'NvChad/nvim-colorizer.lua', | ||
event = 'BufReadPre', | ||
opts = { | ||
filetypes = { 'javascript', 'typescript', 'html', 'css', 'scss', '!lazy', '!prompt', '!nofile' }, | ||
buftype = { 'javascript', 'typescript', 'html', 'css', 'scss' }, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
return { | ||
'nvim-tree/nvim-web-devicons', | ||
lazy = true, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
return { | ||
'lukas-reineke/indent-blankline.nvim', | ||
event = { 'BufReadPost', 'BufNewFile' }, | ||
main = 'ibl', | ||
opts = { | ||
indent = { | ||
char = '│', | ||
}, | ||
scope = { | ||
show_start = false, | ||
show_end = false, | ||
}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
return { | ||
'folke/noice.nvim', | ||
event = 'VeryLazy', | ||
dependencies = { | ||
'MunifTanjim/nui.nvim', | ||
'rcarriga/nvim-notify', | ||
}, | ||
config = function() | ||
require('noice').setup({ | ||
lsp = { | ||
override = { | ||
['vim.lsp.util.convert_input_to_markdown_lines'] = true, | ||
['vim.lsp.util.stylize_markdown'] = true, | ||
['cmp.entry.get_documentation'] = true, | ||
}, | ||
}, | ||
presets = { | ||
bottom_search = true, -- use a classic bottom cmdline for search | ||
command_palette = true, -- position the cmdline and popupmenu together | ||
long_message_to_split = true, -- long messages will be sent to a split | ||
inc_rename = false, -- enables an input dialog for inc-rename.nvim | ||
lsp_doc_border = true, -- add a border to hover docs and signature help | ||
}, | ||
}) | ||
end, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
return { | ||
'rcarriga/nvim-notify', | ||
keys = { | ||
{ | ||
'<leader>un', | ||
function() | ||
require('notify').dismiss({ silent = true, pending = true }) | ||
end, | ||
desc = 'Delete all Notifications', | ||
}, | ||
}, | ||
opts = { | ||
timeout = 2000, | ||
fps = 20, | ||
background_colour = '#000000', | ||
render = 'compact', | ||
stages = 'fade_in_slide_out', | ||
max_height = function() | ||
return math.floor(vim.o.lines * 0.75) | ||
end, | ||
max_width = function() | ||
return math.floor(vim.o.columns * 0.75) | ||
end, | ||
on_open = function(win) | ||
vim.api.nvim_set_option_value('filetype', 'markdown', { buf = vim.api.nvim_win_get_buf(win) }) | ||
end, | ||
}, | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
return { | ||
'anuvyklack/windows.nvim', | ||
config = true, | ||
dependencies = { | ||
'anuvyklack/middleclass', | ||
'anuvyklack/animation.nvim', | ||
}, | ||
keys = { | ||
{ '<C-w>z', '<cmd>WindowsMaximize<cr>', desc = 'Maximize Windows' }, | ||
{ '<C-w>_', '<cmd>WindowsMaximizeVertically<cr>', desc = 'Maximize Vertically' }, | ||
{ '<C-w>|', '<cmd>WindowsMaximizeHorizontally<cr>', desc = 'Maximize Horizontaly' }, | ||
{ '<C-w>=', '<cmd>WindowsEqualize<cr>', desc = 'Equalize Windows' }, | ||
}, | ||
} |