Commit graph

1479 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
Cristian Flores
96ba7b6486
feat: add mellow.nvim theme plugin with lualine support (#1188)
Co-authored-by: Ching Pei Yang <59727193+horriblename@users.noreply.github.com>
2025-10-26 22:42:39 +01:00
Simon Westlin Green
269e22d0e2
hotfix: move mkRename-/RemovedOptionModule inside concatLists list 2025-10-23 18:08:47 +02: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
e48638aef3
tabline/nvim-bufferline: fix Catppuccin integration
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
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a6964ecfe08983c1d65145f961e31baf1fca6
2025-10-03 08:27:49 +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
Ching Pei Yang
06bc21e75c
Merge pull request #1161 from alfarelcynthesis/less-import
treewide: don't import modules manually
2025-09-27 11:40:42 +02:00
alfarel
8593e0929b
fix: deadnix --edit + statix fix 2025-09-27 01:05:33 +00:00
alfarel
ae1922f6da
treewide: don't import modules manually
Reduces maintenance burden.
2025-09-27 00:33:21 +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
Ching Pei Yang
e1fd607e3f
lsp: call default_on_attach in LspAttach autocmd 2025-09-26 00:29:27 +02:00
Ching Pei Yang
d26b9dc896
autocmds: ensure augroups are set up before autocmds 2025-09-26 00:18:57 +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
Ching Pei Yang
6447bdf013
Fix yaml-language-server and helm-ls integration (#1125)
* lib/languages: fix typo in server submodule

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

* wrapper/build: add option examples; put evaluated values in `literalExpression`

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

* languages/yaml: fix on_attach by using mkLuaInline

* languages/helm: fix yaml-language-server integration

* language/yaml: call default_on_attach in helm version

---------

Signed-off-by: NotAShelf <raf@notashelf.dev>
Co-authored-by: raf <raf@notashelf.dev>
2025-09-23 22:46:17 +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
ba9ce8bb3a
wrapper/build: add option examples; put evaluated values in literalExpression
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69648220a65886994d4cac67f634a61815d5
2025-09-13 09:23:24 +02:00
raf
0246376cdd
Merge branch 'main' into v0.8 2025-09-13 09:23:24 +02:00
850559fd51
utility/image-nvim: support sixel in backend enum
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a696461887a5f55632334e644ab04e0de5d76
2025-09-13 10:01:19 +03:00
ky-bean
e4c8757752
Documentation: Fix referenes to erroneous lib.nvim.types.luaInline 2025-09-08 22:12:19 -07:00
alfarel
09e7f44ba1
languages/yaml: fix on_attach by using mkLuaInline 2025-09-06 16:41:52 +00:00
Ching Pei Yang
f9a422814d
lazy: fix error on empty lz.n spec 2025-09-05 17:44:36 +02:00
8b98f07862
wrapper/build: add option examples; put evaluated values in literalExpression
Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69648220a65886994d4cac67f634a61815d5
2025-09-03 14:45:46 +03:00
myu
5f2718875e themes/catppuccin: propagate transparency to floating window options 2025-09-02 20:19:21 -04:00
raf
cf58d88545
Merge branch 'main' into v0.8 2025-08-31 22:35:52 +03:00
raf
c3ed4dd94f
Merge branch 'main' into main 2025-08-31 22:28:12 +03:00
jules
d76b4284b0 ui/nvim-highlight-colors: remove untyped vendored options 2025-08-31 13:49:17 -04:00
7592797325
nvim-bufferline: fix catppuccin integration
Handle breaking changes gracefully for once, ffs

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6a6a69647fc9d590ec3cb0cee53e4e6ae2f88de5
2025-08-31 19:28:34 +03:00
jules
9c21bd06a2 ui/nvim-highlight-colors: init 2025-08-31 10:59:10 -04: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
Ching Pei Yang
3f974fbe60
Merge branch 'v0.8' into lsp/harper-ls 2025-08-30 12:02:48 +02:00
Jaren Glenn
f6cfc3ab4b lazy: enabled option accepts luaInline instead of str
Makes inline Lua enabled options evaluate to Lua instead of string
literals.
2025-08-26 20:06:46 -06:00