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";
|
capabilities = mkLuaInline "capabilities";
|
||||||
on_attach = if cfg.format.enable then mkLuaInline "default_on_attach" else "attach_keymaps";
|
on_attach = if cfg.format.enable then mkLuaInline "default_on_attach" else "attach_keymaps";
|
||||||
cmd = packageToCmd cfg.lsp.package "nil";
|
cmd = packageToCmd cfg.lsp.package "nil";
|
||||||
settings = {
|
settings.nil = {
|
||||||
nil.formatting.command =
|
formatting.command =
|
||||||
if cfg.format.enable then
|
if cfg.format.enable then
|
||||||
if cfg.format.type == "alejandra" then
|
if cfg.format.type == "alejandra" then
|
||||||
''{"${cfg.format.package}/bin/alejandra", "--quiet"}''
|
''{"${cfg.format.package}/bin/alejandra", "--quiet"}''
|
||||||
|
@ -55,7 +55,7 @@ let
|
||||||
null
|
null
|
||||||
else
|
else
|
||||||
null;
|
null;
|
||||||
} // config.lsp.options;
|
} // cfg.lsp.options;
|
||||||
}
|
}
|
||||||
}'';
|
}'';
|
||||||
# lspConfig = ''
|
# lspConfig = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue