init none-ls and justfile
This commit is contained in:
parent
caa3b8d081
commit
76b0dd1a4e
2 changed files with 37 additions and 0 deletions
|
@ -193,6 +193,28 @@
|
||||||
settings.current_line_blame = true;
|
settings.current_line_blame = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
plugins.none-ls = {
|
||||||
|
enable = true;
|
||||||
|
enableLspFormat = true;
|
||||||
|
sources = {
|
||||||
|
code_actions.gitsigns.enable = true;
|
||||||
|
completion = {
|
||||||
|
luasnip.enable = true;
|
||||||
|
spell.enable = true;
|
||||||
|
};
|
||||||
|
diagnostics = {
|
||||||
|
codespell.enable = true;
|
||||||
|
commitlint.enable = true;
|
||||||
|
deadnix.enable = true;
|
||||||
|
markdownlint.enable = true;
|
||||||
|
pylint.enable = true;
|
||||||
|
};
|
||||||
|
formatting = {
|
||||||
|
just.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
plugins.cmp-buffer.enable = true;
|
plugins.cmp-buffer.enable = true;
|
||||||
plugins.cmp-emoji.enable = true;
|
plugins.cmp-emoji.enable = true;
|
||||||
plugins.cmp-nvim-lsp.enable = true;
|
plugins.cmp-nvim-lsp.enable = true;
|
||||||
|
@ -205,5 +227,6 @@
|
||||||
plugins.auto-save.enable = true;
|
plugins.auto-save.enable = true;
|
||||||
plugins.indent-blankline.enable = true;
|
plugins.indent-blankline.enable = true;
|
||||||
plugins.undotree.enable = true;
|
plugins.undotree.enable = true;
|
||||||
|
plugins.lsp-format.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
14
justfile
Normal file
14
justfile
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
update:
|
||||||
|
git switch -c update
|
||||||
|
git push
|
||||||
|
git switch main
|
||||||
|
|
||||||
|
upgrade:
|
||||||
|
git switch update
|
||||||
|
sudo nixos-rebuild switch -L --flake . --use-substitutes
|
||||||
|
nixos-rebuild switch -L --flake .#chunk --target-host root@2a0f:85c1:840:2bfb::1 --use-substitutes
|
||||||
|
nixos-rebuild switch -L --flake .#titan --target-host root@www.cything.io --use-substitutes
|
||||||
|
home-manager -L switch --flake .
|
||||||
|
git switch main
|
||||||
|
git merge update
|
||||||
|
git branch -d update
|
Loading…
Add table
Reference in a new issue