Compare commits

...

2 commits

Author SHA1 Message Date
b35c84dcbd
feat: Add cutlass.nvim 2025-03-11 20:38:07 -07:00
dba8847475
feat: Add shell formatters 2025-03-11 20:33:33 -07:00
4 changed files with 53 additions and 2 deletions

View file

@ -228,6 +228,22 @@
"type": "github"
}
},
"plugins-cutlass-nvim": {
"flake": false,
"locked": {
"lastModified": 1702908963,
"narHash": "sha256-zmS/JlcGW8hLWla01F2z9QMfnIYvWr5BkPCoZqzsAFw=",
"owner": "gbprod",
"repo": "cutlass.nvim",
"rev": "1ac7e4b53d79410be52a9e464d44c60556282b3e",
"type": "github"
},
"original": {
"owner": "gbprod",
"repo": "cutlass.nvim",
"type": "github"
}
},
"plugins-nvim-emmet": {
"flake": false,
"locked": {
@ -249,6 +265,7 @@
"neovim-nightly-overlay": "neovim-nightly-overlay",
"nixCats": "nixCats",
"nixpkgs": "nixpkgs_2",
"plugins-cutlass-nvim": "plugins-cutlass-nvim",
"plugins-nvim-emmet": "plugins-nvim-emmet"
}
},

View file

@ -11,11 +11,16 @@
url = "github:nix-community/neovim-nightly-overlay";
};
"plugins-nvim-emmet" = {
plugins-nvim-emmet = {
url = "github:olrtg/nvim-emmet";
flake = false;
};
plugins-cutlass-nvim = {
url = "github:gbprod/cutlass.nvim";
flake = false;
};
# see :help nixCats.flake.inputs
# If you want your plugin to be loaded by the standard overlay,
# i.e. if it wasnt on nixpkgs, but doesnt have an extra build step.
@ -135,6 +140,7 @@
rubyPackages.erb-formatter
ruff
shellcheck
shfmt
sqlfluff
stdenv.cc.cc
stylelint
@ -322,9 +328,10 @@
kulala-nvim
# Custom
rose-pine
cutlass-nvim
diffview-nvim
nvim-emmet
rose-pine
treesj
vim-caddyfile
];

View file

@ -9,6 +9,18 @@ return {
liquid = { 'prettier' },
nix = { 'alejandra' },
scss = { 'stylelint' },
sh = { 'shellcheck', 'shfmt' },
},
formatters = {
shfmt = {
prepend_args = {
'--indent=2',
'--case-indent',
'--binary-next-line',
'--func-next-line',
},
},
},
},
},

View file

@ -0,0 +1,15 @@
return {
{
'gbprod/cutlass.nvim',
event = 'BufReadPost',
opts = {
cut_key = 'x',
override_del = true,
registers = {
select = '_',
delete = '_',
change = '_',
},
},
},
}