Compare commits

..

2 commits

Author SHA1 Message Date
ce017fd37c fix os.execute return
Some checks failed
build / build (nvim-min) (push) Has been cancelled
2025-10-15 19:53:57 -05:00
35b0e05965 fix local flake path 2025-10-15 19:41:31 -05:00
3 changed files with 11 additions and 8 deletions

15
flake.lock generated
View file

@ -6,14 +6,17 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1760318820,
"narHash": "sha256-3ETm+AZ/UEU0OYFSYviMSv/Ov4BN1cEsBH6KNGuTYS4=",
"path": "/home/e/dev/dart.nvim",
"type": "path"
"lastModified": 1760366615,
"narHash": "sha256-qGWNl+UQLvdFl8AAgywOHthizfKovk8az1xhRhQeVn8=",
"owner": "iofq",
"repo": "dart.nvim",
"rev": "5fac43b0f7b5500c69a51a3717aef8ccceacd178",
"type": "github"
},
"original": {
"path": "/home/e/dev/dart.nvim",
"type": "path"
"owner": "iofq",
"repo": "dart.nvim",
"type": "github"
}
},
"flake-compat": {

View file

@ -13,7 +13,7 @@
inputs.nixpkgs.follows = "nixpkgs";
};
dart = {
url = "path:/home/e/dev/dart.nvim";
url = "github:iofq/dart.nvim";
};
nvim-treesitter-main = {
url = "github:iofq/nvim-treesitter-main";

View file

@ -35,7 +35,7 @@ vim.api.nvim_create_autocmd('FileType', {
group = vim.api.nvim_create_augroup('difftool', { clear = true }),
callback = function(event)
local function exec(fmt, str)
os.execute(string.format(fmt, str))
return os.execute(string.format(fmt, str))
end
local function refresh()
local qf = vim.fn.getqflist()