this repo has no description

Remove nvim-lspconfig and just use built-in configuration

hauleth.dev cc25f033 ad72c4c5

verified
-4
dev_shells.nix
···
[
elixir
lexical
-
]
-
++ lib.optionals stdenv.isDarwin [
-
darwin.apple_sdk.frameworks.CoreFoundation
-
darwin.apple_sdk.frameworks.CoreServices
];
};
+31 -49
flake.lock
···
]
},
"locked": {
-
"lastModified": 1751313918,
-
"narHash": "sha256-HsJM3XLa43WpG+665aGEh8iS8AfEwOIQWk3Mke3e7nk=",
+
"lastModified": 1755825449,
+
"narHash": "sha256-XkiN4NM9Xdy59h69Pc+Vg4PxkSm9EWl6u7k6D5FZ5cM=",
"owner": "lnl7",
"repo": "nix-darwin",
-
"rev": "e04a388232d9a6ba56967ce5b53a8a6f713cdfcf",
+
"rev": "8df64f819698c1fee0c2969696f54a843b2231e8",
"type": "github"
},
"original": {
···
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
-
"lastModified": 1753121425,
-
"narHash": "sha256-TVcTNvOeWWk1DXljFxVRp+E0tzG1LhrVjOGGoMHuXio=",
+
"lastModified": 1754487366,
+
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"owner": "hercules-ci",
"repo": "flake-parts",
-
"rev": "644e0fc48951a860279da645ba77fe4a6e814c5e",
+
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"type": "github"
},
"original": {
···
"type": "github"
}
},
-
"git-branchless": {
-
"inputs": {
-
"nixpkgs": [
-
"nixpkgs"
-
]
-
},
-
"locked": {
-
"lastModified": 1753565501,
-
"narHash": "sha256-G5MlE638vrgUo/aQUy1udjNVTOhY4KeywGaT3bD6V/g=",
-
"owner": "arxanas",
-
"repo": "git-branchless",
-
"rev": "5f4d1ea6801d94f2cdf44b456c108154691cd93f",
-
"type": "github"
-
},
-
"original": {
-
"owner": "arxanas",
-
"repo": "git-branchless",
-
"type": "github"
-
}
-
},
"home-manager": {
"inputs": {
"nixpkgs": [
···
]
},
"locked": {
-
"lastModified": 1753709185,
-
"narHash": "sha256-fU0XPSNudRJHvbeMK2qWBXEbfd77t7r+e9V2L9ON5kI=",
+
"lastModified": 1756579987,
+
"narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=",
"owner": "nix-community",
"repo": "home-manager",
-
"rev": "20cf285e9f8e5e3968abca80081c03ea96e7ea73",
+
"rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a",
"type": "github"
},
"original": {
···
"lix": {
"flake": false,
"locked": {
-
"lastModified": 1751235704,
-
"narHash": "sha256-J4ycLoXHPsoBoQtEXFCelL4xlq5pT8U9tNWNKm43+YI=",
-
"rev": "1d7368585eebaa2c4bdbcb88fe600cfb2239b2c6",
+
"lastModified": 1753306924,
+
"narHash": "sha256-jLCEW0FvjFhC+c4RHzH+xbkSOxrnpFHnhjOw6sudhx0=",
+
"rev": "1a4393d0aac31aba21f5737ede1b171e11336d77",
"type": "tarball",
-
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/1d7368585eebaa2c4bdbcb88fe600cfb2239b2c6.tar.gz?rev=1d7368585eebaa2c4bdbcb88fe600cfb2239b2c6"
+
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/1a4393d0aac31aba21f5737ede1b171e11336d77.tar.gz?rev=1a4393d0aac31aba21f5737ede1b171e11336d77"
},
"original": {
"type": "tarball",
···
"inputs": {
"flake-utils": "flake-utils_2",
"flakey-profile": "flakey-profile",
-
"lix": "lix",
+
"lix": [
+
"lix"
+
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
-
"lastModified": 1751240025,
-
"narHash": "sha256-SXUAlxpjPRkArRMHy5+Hdi+PiC+ND9yzzIjiaHmTvQU=",
-
"rev": "8b1094356f4723d6e89d3f8a95b333ee16d9ab02",
+
"lastModified": 1756125859,
+
"narHash": "sha256-6a+PWILmqHCs9B5eIBLg6HSZ8jYweZpgOWO8FlyVwYI=",
+
"rev": "d3292125035b04df00d01549a26e948631fabe1e",
"type": "tarball",
-
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/8b1094356f4723d6e89d3f8a95b333ee16d9ab02.tar.gz?rev=8b1094356f4723d6e89d3f8a95b333ee16d9ab02"
+
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/d3292125035b04df00d01549a26e948631fabe1e.tar.gz?rev=d3292125035b04df00d01549a26e948631fabe1e"
},
"original": {
"type": "tarball",
-
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.93.2-1.tar.gz"
+
"url": "https://git.lix.systems/lix-project/nixos-module/archive/release-2.93.tar.gz"
}
},
"neorg": {
···
"norg-meta": "norg-meta"
},
"locked": {
-
"lastModified": 1753554376,
-
"narHash": "sha256-72G3UloqOH8asQW58J0EtBLyp2f3DcYHY2Q9InmuHcQ=",
+
"lastModified": 1756585044,
+
"narHash": "sha256-Pd71Z4muaqfFdbbW7gajF7mJurgPGK5V+dp1gDhB7io=",
"owner": "nvim-neorg",
"repo": "nixpkgs-neorg-overlay",
-
"rev": "ed92eec2ab79f10c021451a5ec3fd3b8c77cf29e",
+
"rev": "9050eda53388acfa780b8e6e316c2ec5758cd492",
"type": "github"
},
"original": {
···
},
"nixpkgs-lib": {
"locked": {
-
"lastModified": 1751159883,
-
"narHash": "sha256-urW/Ylk9FIfvXfliA1ywh75yszAbiTEVgpPeinFyVZo=",
+
"lastModified": 1753579242,
+
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
-
"rev": "14a40a1d7fb9afa4739275ac642ed7301a9ba1ab",
+
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
"type": "github"
},
"original": {
···
},
"nixpkgs_4": {
"locked": {
-
"lastModified": 1753432016,
-
"narHash": "sha256-cnL5WWn/xkZoyH/03NNUS7QgW5vI7D1i74g48qplCvg=",
+
"lastModified": 1756536218,
+
"narHash": "sha256-ynQxPVN2FIPheUgTFhv01gYLbaiSOS7NgWJPm9LF9D0=",
"owner": "NixOS",
"repo": "nixpkgs",
-
"rev": "6027c30c8e9810896b92429f0092f624f7b1aace",
+
"rev": "a918bb3594dd243c2f8534b3be01b3cb4ed35fd1",
"type": "github"
},
"original": {
···
"darwin": "darwin",
"darwin-stable": "darwin-stable",
"flake-parts": "flake-parts",
-
"git-branchless": "git-branchless",
"home-manager": "home-manager",
"lexical": "lexical",
+
"lix": "lix",
"lix-module": "lix-module",
"neorg-overlay": "neorg-overlay",
"nixpkgs": "nixpkgs_4"
+6 -6
flake.nix
···
inputs.nixpkgs.follows = "nixpkgs";
};
+
lix = {
+
url = "https://git.lix.systems/lix-project/lix/archive/release-2.93.tar.gz";
+
flake = false;
+
};
lix-module = {
-
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.2-1.tar.gz";
+
url = "https://git.lix.systems/lix-project/nixos-module/archive/release-2.93.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
+
inputs.lix.follows = "lix";
};
neorg-overlay = {
url = "github:nvim-neorg/nixpkgs-neorg-overlay";
-
inputs.nixpkgs.follows = "nixpkgs";
-
};
-
-
git-branchless = {
-
url = "github:arxanas/git-branchless";
inputs.nixpkgs.follows = "nixpkgs";
};
+1 -1
modules/git.nix
···
# manual.manpages.enable = true;
home.packages = [
-
pkgs.git-branchless
+
# pkgs.git-branchless
pkgs.git-gone
pkgs.git-cliff
# pkgs.git-revise
+6 -3
modules/jj.nix
···
ui = {
default-command = ["log" "--template=log_compact"];
-
conflict-marker-style = "diff3";
+
conflict-marker-style = "git";
};
aliases = {
···
lg = ["log"];
tug = ["bookmark" "move" "--from" "closest_bookmark(@-)" "--to" "@-"];
pull = ["git" "fetch"];
-
push = ["git" "push" "--allow-new"];
+
push = ["git" "push"];
sync = [
"rebase"
"--source" "all:roots(trunk()..mutable())"
···
"closest_bookmark(to)" = "heads(::to & bookmarks())";
};
-
git.write-change-id-header = true;
+
git = {
+
write-change-id-header = true;
+
push-new-bookmarks = true;
+
};
colors = {
# change_id = "green";
+5 -9
modules/nvim/fnl/langclient.fnl
···
(use nvim {: fun : cmd : opt : map :buf-map bmap})
(use picker)
-
(use lspconfig)
-
(use lspconfig.configs)
(import-macros logger :nvim.logger)
(import-macros {: augroup} :nvim)
(let [lsp vim.lsp
border :rounded]
-
(tset (require :lspconfig.ui.windows) :default_options {:border border})
(set lsp.handlers.textDocument/hover (lsp.with lsp.handlers.hover {:border border}))
(set lsp.handlers.textDocument/signatureHelp (lsp.with lsp.handlers.signature_help {:border border}))
(vim.diagnostic.config {:float {:border border}}))
···
(on CursorHold "*" (vim.diagnostic.open_float {:focus false})))
-
(set lspconfig.util.default_config
-
(vim.tbl_extend :force lspconfig.util.default_config
-
{:autostart false}))
-
-
(fn setup [name opts]
(vim.lsp.enable name)
(vim.lsp.config name opts))
(setup :rust_analyzer {
+
:root_markers [ "Cargo.lock" ".git" ".jj" ]
+
:filetypes [ "rust" ]
:cmd [vim.g.lsp_paths.rust_analyzer]
:settings {:rust-analyzer {:files {:excludeDirs [".direnv"]}}}})
(setup :lexical {
+
:root_markers [ "mix.exs" ".git" ".jj" ]
+
:filetypes [ "elixir" "eelixir" "heex" ]
:cmd [vim.g.lsp_paths.lexical]})
; (setup :zls {})
···
:autostart true
:cmd [vim.g.lsp_paths.typos_lsp]})
-
(augroup lsp-direnv (on User :DirenvLoaded (cmd.LspStart)))
+
; (augroup lsp-direnv (on User :DirenvLoaded (cmd.LspStart)))
-1
modules/nvim/fnl/plugins.fnl
···
{:ft [:elixir :eex :heex]})
; Language Protocol
-
(pkg :neovim/nvim-lspconfig)
(pkg :nvim-treesitter/playground
{:cmd [:TSPlaygroundToggle
:TSHighlightCapturesUnderCursor]})