Compare commits
2 commits
fed5136bc7
...
b35c84dcbd
Author | SHA1 | Date | |
---|---|---|---|
b35c84dcbd | |||
dba8847475 |
4 changed files with 53 additions and 2 deletions
17
flake.lock
17
flake.lock
|
@ -228,6 +228,22 @@
|
||||||
"type": "github"
|
"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": {
|
"plugins-nvim-emmet": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -249,6 +265,7 @@
|
||||||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||||
"nixCats": "nixCats",
|
"nixCats": "nixCats",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"plugins-cutlass-nvim": "plugins-cutlass-nvim",
|
||||||
"plugins-nvim-emmet": "plugins-nvim-emmet"
|
"plugins-nvim-emmet": "plugins-nvim-emmet"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
11
flake.nix
11
flake.nix
|
@ -11,11 +11,16 @@
|
||||||
url = "github:nix-community/neovim-nightly-overlay";
|
url = "github:nix-community/neovim-nightly-overlay";
|
||||||
};
|
};
|
||||||
|
|
||||||
"plugins-nvim-emmet" = {
|
plugins-nvim-emmet = {
|
||||||
url = "github:olrtg/nvim-emmet";
|
url = "github:olrtg/nvim-emmet";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
plugins-cutlass-nvim = {
|
||||||
|
url = "github:gbprod/cutlass.nvim";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
# see :help nixCats.flake.inputs
|
# see :help nixCats.flake.inputs
|
||||||
# If you want your plugin to be loaded by the standard overlay,
|
# 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.
|
# i.e. if it wasnt on nixpkgs, but doesnt have an extra build step.
|
||||||
|
@ -135,6 +140,7 @@
|
||||||
rubyPackages.erb-formatter
|
rubyPackages.erb-formatter
|
||||||
ruff
|
ruff
|
||||||
shellcheck
|
shellcheck
|
||||||
|
shfmt
|
||||||
sqlfluff
|
sqlfluff
|
||||||
stdenv.cc.cc
|
stdenv.cc.cc
|
||||||
stylelint
|
stylelint
|
||||||
|
@ -322,9 +328,10 @@
|
||||||
kulala-nvim
|
kulala-nvim
|
||||||
|
|
||||||
# Custom
|
# Custom
|
||||||
rose-pine
|
cutlass-nvim
|
||||||
diffview-nvim
|
diffview-nvim
|
||||||
nvim-emmet
|
nvim-emmet
|
||||||
|
rose-pine
|
||||||
treesj
|
treesj
|
||||||
vim-caddyfile
|
vim-caddyfile
|
||||||
];
|
];
|
||||||
|
|
|
@ -9,6 +9,18 @@ return {
|
||||||
liquid = { 'prettier' },
|
liquid = { 'prettier' },
|
||||||
nix = { 'alejandra' },
|
nix = { 'alejandra' },
|
||||||
scss = { 'stylelint' },
|
scss = { 'stylelint' },
|
||||||
|
sh = { 'shellcheck', 'shfmt' },
|
||||||
|
},
|
||||||
|
|
||||||
|
formatters = {
|
||||||
|
shfmt = {
|
||||||
|
prepend_args = {
|
||||||
|
'--indent=2',
|
||||||
|
'--case-indent',
|
||||||
|
'--binary-next-line',
|
||||||
|
'--func-next-line',
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
15
lua/plugins/cutlass-nvim.lua
Normal file
15
lua/plugins/cutlass-nvim.lua
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
'gbprod/cutlass.nvim',
|
||||||
|
event = 'BufReadPost',
|
||||||
|
opts = {
|
||||||
|
cut_key = 'x',
|
||||||
|
override_del = true,
|
||||||
|
registers = {
|
||||||
|
select = '_',
|
||||||
|
delete = '_',
|
||||||
|
change = '_',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue