tangled
alpha
login
or
join now
hauleth.dev
/
dotfiles
1
fork
atom
this repo has no description
1
fork
atom
overview
issues
pulls
pipelines
Install Erlang Language Platform as NeoVim LSP
hauleth.dev
1 month ago
4f3d7b23
54c32312
verified
This commit was signed with the committer's
known signature
.
hauleth.dev
SSH Key Fingerprint:
SHA256:1hEP8QO8nM2KQfQ8jK4Q19y/CmqVZQI/cNSht3c1QlI=
+33
-27
6 changed files
expand all
collapse all
unified
split
flake.lock
modules
jj.nix
nvim
after
queries
erlang
highlights.scm
fnl
langclient.fnl
plugins.fnl
nvim.nix
+25
-24
flake.lock
reviewed
···
28
28
]
29
29
},
30
30
"locked": {
31
31
-
"lastModified": 1762627886,
32
32
-
"narHash": "sha256-/QLk1bzmbcqJt9sU43+y/3tHtXhAy0l8Ck0MoO2+evQ=",
31
31
+
"lastModified": 1764161084,
32
32
+
"narHash": "sha256-HN84sByg9FhJnojkGGDSrcjcbeioFWoNXfuyYfJ1kBE=",
33
33
"owner": "lnl7",
34
34
"repo": "nix-darwin",
35
35
-
"rev": "5125a3cd414dc98bbe2c528227aa6b62ee61f733",
35
35
+
"rev": "e95de00a471d07435e0527ff4db092c84998698e",
36
36
"type": "github"
37
37
},
38
38
"original": {
···
43
43
},
44
44
"darwin-stable": {
45
45
"locked": {
46
46
-
"lastModified": 1762554677,
47
47
-
"narHash": "sha256-U+fP0JeohDFGRU30jeIAeQFAl6/PVfWJPabWPzUmRFI=",
46
46
+
"lastModified": 1764794491,
47
47
+
"narHash": "sha256-53ax34WU7ScLVbHWVuWgeJ6hHtKUJoRLd7mLvoqcnDE=",
48
48
"owner": "nixos",
49
49
"repo": "nixpkgs",
50
50
-
"rev": "dd11e87513e1efcd62fd9ac27acaded5b49b63ab",
50
50
+
"rev": "db8ef220795ce3c1d0c96987dccd5534db780135",
51
51
"type": "github"
52
52
},
53
53
"original": {
···
94
94
"nixpkgs-lib": "nixpkgs-lib"
95
95
},
96
96
"locked": {
97
97
-
"lastModified": 1762440070,
98
98
-
"narHash": "sha256-xxdepIcb39UJ94+YydGP221rjnpkDZUlykKuF54PsqI=",
97
97
+
"lastModified": 1763759067,
98
98
+
"narHash": "sha256-LlLt2Jo/gMNYAwOgdRQBrsRoOz7BPRkzvNaI/fzXi2Q=",
99
99
"owner": "hercules-ci",
100
100
"repo": "flake-parts",
101
101
-
"rev": "26d05891e14c88eb4a5d5bee659c0db5afb609d8",
101
101
+
"rev": "2cccadc7357c0ba201788ae99c4dfa90728ef5e0",
102
102
"type": "github"
103
103
},
104
104
"original": {
···
228
228
]
229
229
},
230
230
"locked": {
231
231
-
"lastModified": 1762721397,
232
232
-
"narHash": "sha256-E428EuouA4nFTNlLuqlL4lVR78X+EbBIqDqsBFnB79w=",
231
231
+
"lastModified": 1764912896,
232
232
+
"narHash": "sha256-ftxQocr098v5ngqB3SXa9tW6aqovBSBOEdIRcLEj44c=",
233
233
"owner": "nix-community",
234
234
"repo": "home-manager",
235
235
-
"rev": "b8645b18b0f5374127bbade6de7381ef0b3d5720",
235
235
+
"rev": "6bcb2395ab9ed05616052262da526cd7c5b4b123",
236
236
"type": "github"
237
237
},
238
238
"original": {
···
264
264
"lix": {
265
265
"flake": false,
266
266
"locked": {
267
267
-
"lastModified": 1759940703,
268
268
-
"narHash": "sha256-/dXDCzYnQbkqCsvUDIxgIH4BS/fyxIu73m2v4ftJLXQ=",
267
267
+
"lastModified": 1763494707,
268
268
+
"narHash": "sha256-NFj1+bz+crNY5lL2+PHdjEb3RjPo6VnUvRQtohLNZy0=",
269
269
+
"rev": "53dc27f752a9ef6b2d7e5c48124cdd9c8223c3f4",
269
270
"type": "tarball",
270
270
-
"url": "https://git.lix.systems/lix-project/lix/archive/release-2.93.tar.gz"
271
271
+
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/53dc27f752a9ef6b2d7e5c48124cdd9c8223c3f4.tar.gz?rev=53dc27f752a9ef6b2d7e5c48124cdd9c8223c3f4"
271
272
},
272
273
"original": {
273
274
"type": "tarball",
···
300
301
"neorg": {
301
302
"flake": false,
302
303
"locked": {
303
303
-
"lastModified": 1761838636,
304
304
-
"narHash": "sha256-aypMPbtBhhcFLMmdnUh/8e6cOQM7bVfezpXoLwVt1ak=",
304
304
+
"lastModified": 1764799180,
305
305
+
"narHash": "sha256-EzqPcvZTS4+wSOalmQkTSgcRf0MBKSZy2ntbah3sZgE=",
305
306
"owner": "nvim-neorg",
306
307
"repo": "neorg",
307
307
-
"rev": "59775af2fadb85cec6bff08a584c2c98a1694ea6",
308
308
+
"rev": "de0bf99a95f4053862f0e63c8083b5e14f3ad6ec",
308
309
"type": "github"
309
310
},
310
311
"original": {
···
325
326
"norg-meta": "norg-meta"
326
327
},
327
328
"locked": {
328
328
-
"lastModified": 1762669532,
329
329
-
"narHash": "sha256-uvAShvbTAuHho2IspvXlPRkTER0noha5VWig64CSJqs=",
329
329
+
"lastModified": 1764904659,
330
330
+
"narHash": "sha256-qfLaJwnuY+yXH+8BfDaXFVPTLhQFWsopcD09Erh54N4=",
330
331
"owner": "nvim-neorg",
331
332
"repo": "nixpkgs-neorg-overlay",
332
332
-
"rev": "543c60e7804e700ff3bae31f44ecccf7e8c07b4a",
333
333
+
"rev": "025de974acdc227c82e3731c524e16e113da8c99",
333
334
"type": "github"
334
335
},
335
336
"original": {
···
429
430
},
430
431
"nixpkgs_4": {
431
432
"locked": {
432
432
-
"lastModified": 1762482733,
433
433
-
"narHash": "sha256-g/da4FzvckvbiZT075Sb1/YDNDr+tGQgh4N8i5ceYMg=",
433
433
+
"lastModified": 1764856222,
434
434
+
"narHash": "sha256-yEJmtoFu4cJre1NuU4fb8q57Oux+NTbocnALtJ64aEI=",
434
435
"owner": "NixOS",
435
436
"repo": "nixpkgs",
436
436
-
"rev": "e1ebeec86b771e9d387dd02d82ffdc77ac753abc",
437
437
+
"rev": "ece6e266caf1effab32eceef0403b797b4330373",
437
438
"type": "github"
438
439
},
439
440
"original": {
-1
modules/jj.nix
reviewed
···
93
93
git = {
94
94
colocate = true;
95
95
write-change-id-header = true;
96
96
-
push-new-bookmarks = true;
97
96
sign-on-push = true;
98
97
};
99
98
+1
modules/nvim.nix
reviewed
···
20
20
vim.g.lsp_paths = {
21
21
['rust_analyzer'] = "${pkgs.rust-analyzer}/bin/rust-analyzer",
22
22
['lexical'] = "${lexical}/bin/lexical",
23
23
+
['elp'] = "${pkgs.erlang-language-platform}/bin/elp",
23
24
['typos_lsp'] = "${pkgs.typos-lsp}/bin/typos-lsp"
24
25
}
25
26
package.path = package.path .. ";${pkgs.luajitPackages.fennel}/share/lua/5.1/?.lua"
-2
modules/nvim/after/queries/erlang/highlights.scm
reviewed
···
1
1
;; extends
2
2
-
3
3
-
("?" (variable) @constant)
+6
modules/nvim/fnl/langclient.fnl
reviewed
···
45
45
:filetypes [ "elixir" "eelixir" "heex" ]
46
46
:cmd [vim.g.lsp_paths.lexical]})
47
47
48
48
+
(setup :elp {
49
49
+
:root_markers [ "rebar.config" ]
50
50
+
:filetypes [ "erlang" ]
51
51
+
:cmd [vim.g.lsp_paths.elp "server"]
52
52
+
})
53
53
+
48
54
; (setup :zls {})
49
55
50
56
;(setup :nixd {
+1
modules/nvim/fnl/plugins.fnl
reviewed
···
43
43
; Languages
44
44
(pkg :elixir-editors/vim-elixir
45
45
{:ft [:elixir :eex :heex]})
46
46
+
(pkg :Julian/lean.nvim)
46
47
47
48
; Language Protocol
48
49
(pkg :nvim-treesitter/playground