mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
nix: waydroid
This commit is contained in:
parent
c9ce831415
commit
0c6d0edb42
9 changed files with 142 additions and 59 deletions
32
home/dot_config/nvim/lsp/nil.lua
Normal file
32
home/dot_config/nvim/lsp/nil.lua
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
-- <nixCats>/lsp/nil.lua
|
||||
-- Nil LSP config
|
||||
|
||||
vim.lsp.config("nil", {
|
||||
cmd = { "nil" },
|
||||
root_markers = {
|
||||
"flake.nix",
|
||||
"flake.lock",
|
||||
},
|
||||
filetypes = {
|
||||
"nix",
|
||||
},
|
||||
-- Global config options
|
||||
settings = {
|
||||
["nil"] = {
|
||||
formatting = {
|
||||
command = { "alejandra" },
|
||||
},
|
||||
diagnostics = {
|
||||
ignored = {},
|
||||
},
|
||||
nix = {
|
||||
maxMemoryMB = 2560,
|
||||
},
|
||||
flake = {
|
||||
autoArchive = false,
|
||||
autoEvalImputs = true,
|
||||
nixpkgsInputName = "nixpkgs",
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue