mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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 + "}"
|
||||
else if builtins.isString args then
|
||||
# This should be enough!
|
||||
escapeShellArg args
|
||||
builtins.toJSON args
|
||||
else if builtins.isPath args then
|
||||
escapeShellArg args
|
||||
builtins.toJSON (toString args)
|
||||
else if builtins.isBool args then
|
||||
"${ boolToString args }"
|
||||
else if builtins.isFloat args then
|
||||
|
|
|
@ -217,6 +217,10 @@
|
|||
# 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 {
|
||||
plugins = {
|
||||
lsp = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue