Commit graph

274 commits

Author SHA1 Message Date
siggsy
fdba701b46 languages/haskell: hls-wrapper -> hls
hls-wrapper is a simple script to start the correct language server
based on the currently oppened project. From nvf perspective, this makes
it effectively useless. To allow haskell to work on nvf OOTB, we specify
cmd with hls (not wrapper).

NOTE: this pins the language server to specific GHC version.
To circumvent this, users must override (lib.mkForce)
vim.lsp.servers.haskell-tools.cmd with their own, or just specify it as
[ "haskell-language-server-wrapper" "--lsp" ].
2025-11-08 07:00:58 +01:00
siggsy
1189e78132 Revert "languages/haskell: remove cmd"
This reverts commit 9181d4f34e.
2025-11-08 07:00:58 +01:00
siggsy
e2632059d5 languages/haskell: remove cmd with hls-wrapper
`haskell-language-server-wrapper` only selects the correct
`haskell-language-server`. Snippet from hls documentation:

> HLS is a binary that must be compiled with the same version of
> GHC as the project you are using it on. For this reason it is
> usually distributed as a collection of binaries, along with a
> haskell-language-server-wrapper executable that selects the correct
> one based on which version of GHC it thinks you are using.

By providing `hls-wrapper` we pull A LOT of dependencies,
but do not use them (around 6.7GB). This is unecessary since
we then have to provide `haskell-language-server` in haskell
projects bundled with compatable GHC.
2025-11-08 07:00:58 +01:00
siggsy
43f33b8bdd languages/haskell: remove language server settings
Theses are already provided by `haskell-language-server`.
We also do not prvoide any packages to complement the
specified settings, so it seems unecessary.
2025-11-08 07:00:58 +01:00
siggsy
e814f8e8be languages/haskell: remove invalid vim.g options
Haskell is not configured with lspconfig, but rather
with haskell-tools.nvim. This commit fixes "conversion"
made in 39efdc799.

Without this, users are met with nvim errors about invalid
vim.g options
2025-11-08 06:58:48 +01:00
c2fc2f
9e9be6d0f2
fix(typst): remove typstfmt 2025-11-05 15:48:43 +01:00
poz
00498aa46f
languages/rust: fix completion source option usage 2025-10-31 12:28:18 +01:00
raf
a2934aa4d5
Merge pull request #1193 from NotAShelf/notashelf/push-rklptznqyywp
languages/rust: move `crates.nvim` dependency to `extensions` modernize
languages/rust: fix completion option for crates.nvim

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia46fc50738fce058fb3c36a5b7d8a0686a6a6964

Change-Id: I7ca0b77a912fd8cf288b0cd4ac28185f6a6a6964

modules/deprecations: add missing deprecation messages for crates.nvim

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Icd7524b45c63da851c690435e625d5536a6a6964
2025-10-22 08:12:19 +03:00
99b003f67f
languages/rust: move crates.nvim dependency to extensions modernize
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69648fea60c9113ac066fcffecc2364c9aae
2025-10-18 12:58:59 +03:00
alfarel
0982a84b09
languages/json: fix language server default cmd path in package 2025-10-17 20:48:56 +00:00
Gerg-L
3e48f13c3c
lib: rewrite toLuaObject, deprecate everything else (#1178)
* lint: typos

* wrapper/build: passthru mnw stuff

* lib: rewrite toLuaObject, deprecate everything else

* docs: deno fmt

* Emac

---------

Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
2025-10-13 18:56:11 +02:00
dde524f7cc
languages/typst: fix missing imports
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69642cd808d064e51f6135421ba47a28933b
2025-10-03 20:20:48 +03:00
raf
171410f6c5
Merge branch 'v0.8' into notashelf/push-lnklzrqrwnym 2025-10-03 09:12:26 +03:00
raf
5ff51032a4
Merge pull request #1156 from horriblename/LspAttach-keybinds
attach LSP keybinds + other setup work in LspAttach
2025-09-30 21:43:36 +03:00
Ching Pei Yang
8e9186e4b8
Merge pull request #1162 from alfarelcynthesis/deadnix-run
deadnix + statix run
2025-09-27 11:43:37 +02:00
alfarel
8593e0929b
fix: deadnix --edit + statix fix 2025-09-27 01:05:33 +00:00
Ching Pei Yang
ef508ea10d
Merge branch 'v0.8' into markdown-oxide 2025-09-26 01:28:10 +02:00
Ching Pei Yang
c13edf9961
treewide: remove usage of default_on_attach outside LspAttach 2025-09-26 00:29:27 +02:00
raf
3f30cef69f
Merge pull request #1153 from simon-wg/fix-python-lsp
languages/python: fix Pyright/Basedpyright LSP configs
2025-09-24 07:18:22 +03:00
Simon Westlin Green
81559f9984
languages/python: fix invalid basedpyright configuration
Fixes the basedpyright and pyright language servers by changing from their default binary, to the langserver binary included in their packages.
Also adds default_on_attach to the on_attach to properly register code actions.
2025-09-24 00:06:26 +02:00
alfarel
68ca28af79
language/yaml: call default_on_attach in helm version 2025-09-23 22:43:28 +02:00
alfarel
671b6d187b
languages/helm: fix yaml-language-server integration 2025-09-23 22:43:11 +02:00
alfarel
74d6fe86e6
languages/markdown: add markdown-oxide server option 2025-09-23 20:39:51 +00:00
Party Wumpus
b7571df4d6
languages/typst: Add inline preview via typst-concealer (#588)
Some checks failed
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Treewide Checks / Validate flake (push) Has been cancelled
Treewide Checks / Check formatting (push) Has been cancelled
Treewide Checks / Check source tree for typos (push) Has been cancelled
Treewide Checks / Validate documentation builds (push) Has been cancelled
Treewide Checks / Validate hyperlinks in documentation sources (push) Has been cancelled
Treewide Checks / Validate Editorconfig conformance (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
* add typst-concealer

* Update modules/plugins/languages/typst.nix

Co-authored-by: raf <raf@notashelf.dev>

* add keybinds, resolve review etc

* add changes back (it was easier than a rebase here)

* add the newer conceal_in_normal option

* run deno fmt

* add "typ" to typos

---------

Co-authored-by: raf <raf@notashelf.dev>
2025-09-19 08:47:41 +00:00
Ching Pei Yang
96e1004e55
nix: fix nixd option 2025-09-15 18:44:30 +02:00
Ching Pei Yang
a37bce1194
languages/nix: fix missing init_options when format enabled 2025-09-13 16:20:20 +02:00
alfarel
09e7f44ba1
languages/yaml: fix on_attach by using mkLuaInline 2025-09-06 16:41:52 +00:00
Valter Schütz
8ab27a131e
languages/python: add formatter that combines ruff format with ruff check --fix (#1072)
* languages/python: add formatting option for `ruff check --fix`

* docs: remove unrelated changes

---------

Co-authored-by: Valter Schütz <valterschutz@proton.me>
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
2025-08-30 12:15:38 +02:00
diced
c8bb625a88
languages/ts: add typescript treesitter grammar 2025-08-21 13:29:08 -07:00
raf
8d57ae5e42
languages/elixir: add HEEx and EEx treesitter grammars (#1088)
Co-authored-by: Mickaël Fortunato <mickael.fortunato@protonmail.com>
Co-authored-by: raf <raf@notashelf.dev>
2025-08-21 22:42:16 +03:00
rice-cracker-dev
1f65e589bf languages/svelte: fix svelte-language-server not reloading .js/.ts files on change 2025-08-21 18:47:09 +07:00
raf
085d161ca9
Merge branch 'v0.8' into v0.8 2025-08-21 09:04:10 +03:00
Poseidon
21f4644e31
languages/qml: init (#1092)
* languages/qml: init

Create the qml language module with treesitting, lsp, and formatting

* Fix release notes module name
2025-08-21 08:50:42 +03:00
Poseidon
b6ecc7f19c languages/html: reorder parameters for consistency 2025-08-17 17:22:31 -05:00
Mickaël Fortunato
add8d82c78 languages/elixir: add HEEx and EEx treesitter grammars 2025-08-16 22:31:40 +02:00
Cool-Game-Dev
3aadd2f3ce languages/html: remove null_ls usage
Remove usage of null_ls and replace it with new standards.
2025-08-15 12:50:43 -05:00
Cool-Game-Dev
2ab2669143 languages/html: add advanced support
Add advanced features to the `vim.languages.html` module, including lsp,
formatting, and extra diagnostics.
2025-08-15 12:50:43 -05:00
Cool-Game-Dev
6efced0652
languages/json: correct getExe' usage 2025-08-14 09:22:13 -05:00
Cool-Game-Dev
dbd395ad01
languages/json: fix fix failing CI
Make fixes to stop the JSON module from failing CI.
2025-08-14 09:10:25 -05:00
Poseidon
fa10b2341d
languages/json: remove unessesary multiline
Remove unnecessary multiline string in `writeShellApplication`.

Co-authored-by: raf <raf@notashelf.dev>
2025-08-13 15:12:18 -05:00
Cool-Game-Dev
1f68e37722
languages/json: init
Create the `vim.languages.json` module using `jsonls` and `jsonfmt`.
2025-08-13 13:43:57 -05:00
Cool-Game-Dev
9eb060dde2
languages/csharp: Replace root_markers with root_dir
Replace the root_markers with root_dir in roslyn_ls and omnisharp
2025-08-13 09:05:26 -05:00
Cool-Game-Dev
238b86daeb
languages/csharp: Add roslyn-ls
Add the roslyn-ls lsp to the csharp language model, following standards
set by other lsps.
2025-08-13 09:05:21 -05:00
Cool-Game-Dev
4b99fb6d90
language/just: init
Create the module `vim.languages.just` which provides support for
treesitting and just-lsp.
2025-08-01 14:30:37 -05:00
Ching Pei Yang
69659e078b
Merge pull request #962 from horriblename/language-overhaul-part
[skip ci] Language overhaul part 2
2025-08-01 12:12:34 +02:00
Ching Pei Yang
b45b763fd4
languages/tailwind: fix use of lspconfig.util 2025-08-01 12:00:44 +02:00
Ching Pei Yang
6394f82a22
languages/julia: fix outdated docs 2025-08-01 12:00:43 +02:00
Ching Pei Yang
9407a3e1c6
languages: coerce server type to list for compat 2025-07-23 23:36:22 +02:00
Ching Pei Yang
76c031bbda
language/ts: migrate to vim.lsp.servers 2025-07-23 23:36:22 +02:00
Ching Pei Yang
a2ce78fa90
language/go: migrate to vim.lsp.servers 2025-07-23 23:36:22 +02:00