improve crush
This commit is contained in:
parent
3651d808bf
commit
78ca5c5cc0
3 changed files with 94 additions and 10 deletions
12
flake.nix
12
flake.nix
|
|
@ -50,17 +50,17 @@
|
|||
# microvm.inputs.spectrum.url = "git+https://git.jmarkin.ru/jmarkin/spectrum.git";
|
||||
# microvm.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||
neovim-nightly-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
||||
neovim-nightly-overlay.inputs.flake-parts.follows = "flake-parts";
|
||||
# neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
|
||||
# neovim-nightly-overlay.inputs.nixpkgs.follows = "nixpkgs";
|
||||
# neovim-nightly-overlay.inputs.flake-parts.follows = "flake-parts";
|
||||
|
||||
# mynvim.url = "git+https://git.jmarkin.ru/jmarkin/nvim-nix";
|
||||
mynvim.url = "path:/home/kron/nvim-nix";
|
||||
mynvim.url = "git+https://git.jmarkin.ru/jmarkin/nvim-nix";
|
||||
# mynvim.url = "path:/home/kron/nvim-nix";
|
||||
# mynvim.url = "path:/home/markagl/nvim-nix";
|
||||
# mynvim.url = "path:/projects/jmarkin/nvim-nix";
|
||||
mynvim.inputs.nixpkgs.follows = "nixpkgs";
|
||||
mynvim.inputs.flake-parts.follows = "flake-parts";
|
||||
mynvim.inputs.neovim-nightly-overlay.follows = "neovim-nightly-overlay";
|
||||
# mynvim.inputs.neovim-nightly-overlay.follows = "neovim-nightly-overlay";
|
||||
smart-splits-nvim = {
|
||||
url = "github:mrjones2014/smart-splits.nvim";
|
||||
flake = false;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"$schema": "https://charm.land/crush.json",
|
||||
"options": {
|
||||
"debug_lsp": true,
|
||||
"disable_metrics": true,
|
||||
"disabled_tools": [],
|
||||
"initialize_as": "AGENTS.md",
|
||||
|
|
@ -10,8 +11,34 @@
|
|||
"disable_provider_auto_update": false
|
||||
},
|
||||
"lsp": {
|
||||
"lua-ls": {
|
||||
"command": "lua-language-server",
|
||||
"filetypes": [
|
||||
"lua"
|
||||
],
|
||||
"root_markers": [
|
||||
".luarc.json",
|
||||
".luarc.jsonc",
|
||||
".luacheckrc",
|
||||
".stylua.toml",
|
||||
"stylua.toml",
|
||||
"selene.toml",
|
||||
"selene.yml"
|
||||
],
|
||||
"init_options": {
|
||||
"telemetry": {
|
||||
"enable": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"bash-lsp": {
|
||||
"command": "bash-language-server start",
|
||||
"command": "bash-language-server",
|
||||
"args": [
|
||||
"start"
|
||||
],
|
||||
"root_markers": [
|
||||
".git"
|
||||
],
|
||||
"filetypes": [
|
||||
"sh",
|
||||
"bash"
|
||||
|
|
@ -24,19 +51,39 @@
|
|||
"mod",
|
||||
"sum",
|
||||
"work"
|
||||
],
|
||||
"root_markers": [
|
||||
"go.work",
|
||||
"go.mod"
|
||||
]
|
||||
},
|
||||
"golangci": {
|
||||
"command": "golangci-lint run --output.json.path=stdout --show-stats=false",
|
||||
"command": "golangci-lint",
|
||||
"args": [
|
||||
"run",
|
||||
"--output.json.path=stdout",
|
||||
"--show-stats=false"
|
||||
],
|
||||
"filetypes": [
|
||||
"go",
|
||||
"mod",
|
||||
"sum",
|
||||
"work"
|
||||
],
|
||||
"root_markers": [
|
||||
".golangci.yml",
|
||||
".golangci.yaml",
|
||||
".golangci.toml",
|
||||
".golangci.json",
|
||||
"go.work",
|
||||
"go.mod"
|
||||
]
|
||||
},
|
||||
"biome": {
|
||||
"command": "biome lsp-proxy",
|
||||
"command": "biome",
|
||||
"args": [
|
||||
"lsp-proxy"
|
||||
],
|
||||
"filetypes": [
|
||||
"astro",
|
||||
"css",
|
||||
|
|
@ -51,12 +98,48 @@
|
|||
"typescript.tsx",
|
||||
"typescriptreact",
|
||||
"vue"
|
||||
],
|
||||
"root_markers": [
|
||||
"package-lock.json",
|
||||
"yarn.lock",
|
||||
"pnpm-lock.yaml",
|
||||
"bun.lockb",
|
||||
"bun.lock",
|
||||
"biome.json",
|
||||
"biome.jsonc"
|
||||
]
|
||||
},
|
||||
"nixd": {
|
||||
"command": "nixd",
|
||||
"filetypes": [
|
||||
"nix"
|
||||
],
|
||||
"root_markers": [
|
||||
"flake.nix"
|
||||
]
|
||||
},
|
||||
"zuban": {
|
||||
"command": "zuban",
|
||||
"args": [
|
||||
"server"
|
||||
],
|
||||
"filetypes": [
|
||||
"python"
|
||||
],
|
||||
"root_markers": [
|
||||
"pyproject.toml"
|
||||
]
|
||||
},
|
||||
"ruff": {
|
||||
"command": "ruff",
|
||||
"args": [
|
||||
"server"
|
||||
],
|
||||
"filetypes": [
|
||||
"python"
|
||||
],
|
||||
"root_markers": [
|
||||
"pyproject.toml"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ let
|
|||
type = "openai-compat";
|
||||
name = "AIRUN";
|
||||
id = "airun";
|
||||
api_base = "${airunUrl}/v1";
|
||||
base_url = "${airunUrl}/v1";
|
||||
api_key = "$AI_RUN_API_KEY";
|
||||
models = [
|
||||
{
|
||||
id = airunModel;
|
||||
|
|
|
|||
Loading…
Reference in a new issue