Merge branch 'lazyvim'
* lazyvim: fix: DeferredUIEnter -> VeryLazy fix: Invalid config format feat: no-neck-pain.nvim feat: Configure bufferline.nvim fix: Add lazy-loading on cmd for Diffview feat: Configure ts-autotag style: Format feat: Add missing setting fix: Install chafa for FZF feat: neotab.nvim feat: lexima.vim feat: Configure blink.cmp perf: Remove unused marleyos input
This commit is contained in:
commit
c561bf48e7
11 changed files with 139 additions and 1486 deletions
1509
flake.lock
1509
flake.lock
File diff suppressed because it is too large
Load diff
|
@ -27,6 +27,11 @@
|
||||||
url = "github:2kabhishek/nerdy.nvim";
|
url = "github:2kabhishek/nerdy.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"plugins-neotab.nvim" = {
|
||||||
|
url = "github:kawre/neotab.nvim";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
|
@ -73,6 +78,7 @@
|
||||||
alejandra
|
alejandra
|
||||||
bash-language-server
|
bash-language-server
|
||||||
biome
|
biome
|
||||||
|
chafa
|
||||||
codespell
|
codespell
|
||||||
curl
|
curl
|
||||||
deadnix
|
deadnix
|
||||||
|
@ -308,7 +314,10 @@
|
||||||
# Custom
|
# Custom
|
||||||
cutlass-nvim
|
cutlass-nvim
|
||||||
diffview-nvim
|
diffview-nvim
|
||||||
|
lexima-vim
|
||||||
|
neotab-nvim
|
||||||
nerdy-nvim
|
nerdy-nvim
|
||||||
|
no-neck-pain-nvim
|
||||||
nvim-emmet
|
nvim-emmet
|
||||||
rose-pine
|
rose-pine
|
||||||
treesj
|
treesj
|
||||||
|
|
15
lua/plugins/blink-cmp.lua
Normal file
15
lua/plugins/blink-cmp.lua
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'saghen/blink.cmp',
|
||||||
|
|
||||||
|
---@module 'blink.cmp'
|
||||||
|
---@type blink.cmp.Config
|
||||||
|
opts = {
|
||||||
|
completion = {
|
||||||
|
ghost_text = {
|
||||||
|
enabled = false,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
18
lua/plugins/bufferline-nvim.lua
Normal file
18
lua/plugins/bufferline-nvim.lua
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'akinsho/bufferline.nvim',
|
||||||
|
opts = {
|
||||||
|
options = {
|
||||||
|
always_show_bufferline = true,
|
||||||
|
offsets = {
|
||||||
|
{
|
||||||
|
filetype = 'neo-tree',
|
||||||
|
text = 'Explorer',
|
||||||
|
highlight = 'Directory',
|
||||||
|
text_align = 'center',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
|
@ -1,6 +1,14 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
'sindrets/diffview.nvim',
|
'sindrets/diffview.nvim',
|
||||||
|
cmd = {
|
||||||
|
'DiffviewOpen',
|
||||||
|
'DiffviewClose',
|
||||||
|
'DiffviewToggleFiles',
|
||||||
|
'DiffviewFocusFiles',
|
||||||
|
'DiffviewRefresh',
|
||||||
|
'DiffviewFileHistory',
|
||||||
|
},
|
||||||
config = true,
|
config = true,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
6
lua/plugins/lexima-vim.lua
Normal file
6
lua/plugins/lexima-vim.lua
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'cohama/lexima.vim',
|
||||||
|
event = 'VeryLazy',
|
||||||
|
},
|
||||||
|
}
|
|
@ -8,6 +8,7 @@ return {
|
||||||
},
|
},
|
||||||
filesystem = {
|
filesystem = {
|
||||||
filtered_items = {
|
filtered_items = {
|
||||||
|
visible = true,
|
||||||
hide_dotfiles = false,
|
hide_dotfiles = false,
|
||||||
hide_gitignored = false,
|
hide_gitignored = false,
|
||||||
hide_hidden = false,
|
hide_hidden = false,
|
||||||
|
|
30
lua/plugins/neotab-nvim.lua
Normal file
30
lua/plugins/neotab-nvim.lua
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'kawre/neotab.nvim',
|
||||||
|
event = 'InsertEnter',
|
||||||
|
opts = {
|
||||||
|
behavior = 'closing',
|
||||||
|
smart_punctuators = {
|
||||||
|
enabled = true,
|
||||||
|
semicolon = {
|
||||||
|
enabled = true,
|
||||||
|
ft = { 'javascript', 'typescript', 'php', 'nix' },
|
||||||
|
},
|
||||||
|
|
||||||
|
escape = {
|
||||||
|
enabled = true,
|
||||||
|
triggers = {
|
||||||
|
['='] = {
|
||||||
|
pairs = {
|
||||||
|
{ open = '(', close = ')' },
|
||||||
|
},
|
||||||
|
ft = { 'javascript', 'typescript' },
|
||||||
|
format = ' %s> ', -- () => ...
|
||||||
|
cond = '^$', -- match only pairs with empty content
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
14
lua/plugins/no-neck-pain-nvim.lua
Normal file
14
lua/plugins/no-neck-pain-nvim.lua
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'shortcuts/no-neck-pain.nvim',
|
||||||
|
cmd = {
|
||||||
|
'NoNeckPain',
|
||||||
|
'NoNeckPainResize',
|
||||||
|
'NoNeckPainToggleLeftSide',
|
||||||
|
'NoNeckPainToggleRightSide',
|
||||||
|
'NoNeckPainWidthUp',
|
||||||
|
'NoNeckPainWidthDown',
|
||||||
|
'NoNeckPainScratchPad',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
|
@ -2,7 +2,12 @@ return {
|
||||||
{
|
{
|
||||||
'nvim-emmet',
|
'nvim-emmet',
|
||||||
keys = {
|
keys = {
|
||||||
{ '<LEADER>xe', mode = { 'n', 'v' }, require('nvim-emmet').wrap_with_abbreviation, desc = 'Wrap with Emmet abbr' },
|
{
|
||||||
|
'<LEADER>xe',
|
||||||
|
mode = { 'n', 'v' },
|
||||||
|
require('nvim-emmet').wrap_with_abbreviation,
|
||||||
|
desc = 'Wrap with Emmet abbr',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
ft = { 'html', 'css', 'scss', 'vue', 'blade' },
|
ft = { 'html', 'css', 'scss', 'vue', 'blade' },
|
||||||
},
|
},
|
||||||
|
|
8
lua/plugins/nvim-ts-autotag.lua
Normal file
8
lua/plugins/nvim-ts-autotag.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'windwp/nvim-ts-autotag',
|
||||||
|
opts = {
|
||||||
|
enable_close_on_slash = true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue