mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-21 23:23:34 +00:00
feat(nix): fmt and ls in nvim
This commit is contained in:
parent
5d82d59749
commit
d24e7c2235
2 changed files with 11 additions and 0 deletions
|
@ -73,6 +73,11 @@
|
|||
# Rust
|
||||
cargo
|
||||
|
||||
# Nix
|
||||
nil
|
||||
nixfmt-rfc-style
|
||||
nix-prefetch-scripts
|
||||
|
||||
# Shell
|
||||
zsh
|
||||
shfmt
|
||||
|
@ -103,6 +108,8 @@
|
|||
talosctl
|
||||
cilium-cli
|
||||
kubelogin-oidc
|
||||
kubebuilder
|
||||
chart-testing
|
||||
];
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
|
|
|
@ -156,6 +156,7 @@ require("mason-lspconfig").setup({
|
|||
"terraformls", -- terraform
|
||||
"tflint", -- terraform
|
||||
"yamlls", -- yaml
|
||||
"nil_ls", -- nix
|
||||
},
|
||||
automatic_installation = true,
|
||||
})
|
||||
|
@ -240,6 +241,9 @@ require("formatter").setup({
|
|||
proto = {
|
||||
require("formatter.filetypes.proto").buf_format,
|
||||
},
|
||||
nix = {
|
||||
require("formatter.filetypes.nix").nixfmt,
|
||||
},
|
||||
terraform = {
|
||||
--require("formatter.filetypes.terraform").terraformfmt,
|
||||
function()
|
||||
|
|
Loading…
Reference in a new issue