mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +00:00
Fixed a typo. I need to figure out how to do local testing lol
This commit is contained in:
parent
bfeec99df8
commit
9ac231630d
1 changed files with 3 additions and 3 deletions
|
@ -44,8 +44,8 @@ let
|
|||
capabilities = mkLuaInline "capabilities";
|
||||
on_attach = if cfg.format.enable then mkLuaInline "default_on_attach" else "attach_keymaps";
|
||||
cmd = packageToCmd cfg.lsp.package "nil";
|
||||
settings = {
|
||||
nil.formatting.command =
|
||||
settings.nil = {
|
||||
formatting.command =
|
||||
if cfg.format.enable then
|
||||
if cfg.format.type == "alejandra" then
|
||||
''{"${cfg.format.package}/bin/alejandra", "--quiet"}''
|
||||
|
@ -55,7 +55,7 @@ let
|
|||
null
|
||||
else
|
||||
null;
|
||||
} // config.lsp.options;
|
||||
} // cfg.lsp.options;
|
||||
}
|
||||
}'';
|
||||
# lspConfig = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue