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"
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
|
|
11
flake.nix
11
flake.nix
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
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