mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
helpers: fix toLuaObject string escapes (#72)
This commit is contained in:
parent
a601a75d0c
commit
f9cfb250e9
2 changed files with 6 additions and 2 deletions
|
@ -22,9 +22,9 @@ rec {
|
||||||
"{" + concatMapStringsSep "," toLuaObject args + "}"
|
"{" + concatMapStringsSep "," toLuaObject args + "}"
|
||||||
else if builtins.isString args then
|
else if builtins.isString args then
|
||||||
# This should be enough!
|
# This should be enough!
|
||||||
escapeShellArg args
|
builtins.toJSON args
|
||||||
else if builtins.isPath args then
|
else if builtins.isPath args then
|
||||||
escapeShellArg args
|
builtins.toJSON (toString args)
|
||||||
else if builtins.isBool args then
|
else if builtins.isBool args then
|
||||||
"${ boolToString args }"
|
"${ boolToString args }"
|
||||||
else if builtins.isFloat args then
|
else if builtins.isFloat args then
|
||||||
|
|
|
@ -217,6 +217,10 @@
|
||||||
# extraConfigLua = (builtins.readFile ./nvim-extra-lua.lua);
|
# extraConfigLua = (builtins.readFile ./nvim-extra-lua.lua);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
issue-71 = build {
|
||||||
|
maps.normal."<leader>hb" = "<cmd>lua require('gitsigns').blame_line{full=true}<cr>";
|
||||||
|
};
|
||||||
|
|
||||||
lspkind = build {
|
lspkind = build {
|
||||||
plugins = {
|
plugins = {
|
||||||
lsp = {
|
lsp = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue