Compare commits
1 commit
ef5ec33e4f
...
aa228521fe
Author | SHA1 | Date | |
---|---|---|---|
aa228521fe |
4 changed files with 11 additions and 8 deletions
14
flake.lock
generated
14
flake.lock
generated
|
@ -29,11 +29,11 @@
|
||||||
"zig": "zig"
|
"zig": "zig"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730688195,
|
"lastModified": 1730776162,
|
||||||
"narHash": "sha256-wXK1/gOImxv0vHpUc9qgno1AY8c64j17/UFIiT7zH1g=",
|
"narHash": "sha256-ODmmTWz3jqaPmJ1UiJgHD3oy90BTEd871GZHyT5Xn9M=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "737dc0896dc266a98c889e122b5c900636e589c9",
|
"rev": "f9199a46118f173ac7a005130f871fdf050f94d1",
|
||||||
"revCount": 7874,
|
"revCount": 7881,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "ssh://git@github.com/ghostty-org/ghostty"
|
"url": "ssh://git@github.com/ghostty-org/ghostty"
|
||||||
},
|
},
|
||||||
|
@ -95,11 +95,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1730327045,
|
"lastModified": 1730741070,
|
||||||
"narHash": "sha256-xKel5kd1AbExymxoIfQ7pgcX6hjw9jCgbiBjiUfSVJ8=",
|
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "080166c15633801df010977d9d7474b4a6c549d7",
|
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
extraLuaConfig = lib.fileContents ./init.lua;
|
extraLuaConfig = lib.fileContents ./init.lua;
|
||||||
extraPackages = with pkgs; [
|
extraPackages = with pkgs; [
|
||||||
black
|
black
|
||||||
|
cue
|
||||||
go
|
go
|
||||||
gopls
|
gopls
|
||||||
gotools
|
gotools
|
||||||
|
|
|
@ -41,6 +41,7 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
local configs = require('lspconfig.configs')
|
||||||
local lspconfig = require("lspconfig")
|
local lspconfig = require("lspconfig")
|
||||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,9 @@
|
||||||
MiniPick.registry.files_root = function(local_opts)
|
MiniPick.registry.files_root = function(local_opts)
|
||||||
local root_patterns = { ".jj", ".git" }
|
local root_patterns = { ".jj", ".git" }
|
||||||
local root_dir = vim.fs.dirname(vim.fs.find(root_patterns, { upward = true })[1])
|
local root_dir = vim.fs.dirname(vim.fs.find(root_patterns, { upward = true })[1])
|
||||||
local opts = { source = { cwd = root_dir, tool = "rg" } }
|
local opts = { source = { cwd = root_dir, tool = "ripgrep"} }
|
||||||
local_opts.cwd = root_dir
|
local_opts.cwd = root_dir
|
||||||
|
local_opts.tool = "rg"
|
||||||
return MiniPick.builtin.files(local_opts, opts)
|
return MiniPick.builtin.files(local_opts, opts)
|
||||||
end
|
end
|
||||||
MiniPick.registry.grep_live_root = function(local_opts)
|
MiniPick.registry.grep_live_root = function(local_opts)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue