Commit graph

465 commits

Author SHA1 Message Date
D.A. Marcyes
96097bf3ec
Merge branch 'main' into fix/invalid-keys-in-haskell-tools 2026-05-27 10:36:08 -06:00
Poseidon
cc2c9fef94 languages/json: add prettier and prettierd 2026-05-20 19:07:17 -05:00
Poseidon
6cef622978 languages/php: Add PHPStan linter
Adds the PHPStan linter to the `vim.languages.php` module.

docs: attribute PHPStan to Poseidon
2026-05-20 17:45:30 -05:00
Snoweuph
8ca8f9f21a
languages/clang: add formatting 2026-05-20 17:18:24 +02:00
Ching Pei Yang
f4ff31ab6b
languages/haskell-tools: move default on_attach to mkOption 2026-05-20 16:52:14 +02:00
Ching Pei Yang
39ff04fffa
language/haskell: wrap HLS with itself to find itself 2026-05-20 16:50:09 +02:00
Ching Pei Yang
802206bff4
language/haskell: let conform handle cabal formatting 2026-05-20 16:38:37 +02:00
Snoweuph
0cdef372c5
languages/react: init/split off 2026-05-20 16:38:26 +02:00
Ching Pei Yang
55490b40db
languages/haskell: remove extraneous note 2026-05-20 16:09:45 +02:00
RoastedCheese
198986b3fb
languages/go: fix scope of golangci-lint 2026-05-19 14:04:15 +02:00
Snoweuph
93bfa8f4e0
languages/standard-ml: init 2026-05-17 13:45:44 +02:00
emo-mruczek
332b60f058 languages/vhdl: init 2026-05-16 20:22:48 +02:00
D.A. Marcyes
9361263373
Merge branch 'main' into fix/invalid-keys-in-haskell-tools 2026-05-15 14:06:34 -06:00
dathegreat
e7f3af5445 languages/haskell.nix: add cabal formatter options
Unwrap cabal-fmt from the haskell-language-server binary, and add an
option to configure the executable between cabal-fmt and cabal-gild.
2026-05-15 14:04:47 -06:00
Snoweuph
cf0cd54481
languages/env: init 2026-05-15 13:56:46 +02:00
raf
8e0c499e77
Merge branch 'main' into feat/emmet-all 2026-05-15 14:28:21 +03:00
Snoweuph
ed33badf77
languages: add emmet-ls to supported languages 2026-05-15 06:24:12 +02:00
poz
a37a1fce3a
languages/fish: init 2026-05-15 06:21:05 +02:00
Snoweuph
244ab53987
languages/docker: use command instead of callback in autocmd 2026-05-14 20:41:09 +02:00
Snoweuph
7753a473b5
languages/docker: add missing mkIf 2026-05-14 20:26:37 +02:00
Snoweuph
4c36f94593
languages/docker: init 2026-05-13 23:14:52 +02:00
Snoweuph
190cb762f9
languages/asm: add asmfmt and nasmfmt 2026-05-13 19:46:30 +02:00
Ching Pei Yang
8a0073182f languages/haskell: simplify attach function 2026-05-10 23:20:15 +02:00
dathegreat
dfaa9b4c5a languages/haskell.nix: Add haskell-tools keymaps to the extension opts
They were previously set in plain lua, which made them difficult /
impossible to override
2026-05-10 23:20:15 +02:00
Ching Pei Yang
29d37d9692 languages/haskell: haskell-tools setupOpts refactor 2026-05-10 23:20:15 +02:00
dathegreat
b2d6a252ce languages/haskell.nix: Address PR comments
- Move formatting responsibility to conform-nvim, instead of HLS
- Wrap formatter binaries separately now that we are not using the
HLS-bundled libraries
- Add helpful assertion message to enforce the "not HLS if
haskell-tools" invariant.
- Add helpful assertion message to enforce the "not DAP if not
haskell-tools" invariant.
2026-05-10 23:20:15 +02:00
dathegreat
f15c3f377a lsp/presets/haskell-language-server.nix: Add cabal-fmt as an extra package if lsp is enabled
Otherwise, formatting a .cabal file throws an error that cabal-fmt can't
be found. This is especially annoying if saving => formatting, because
each save throws an error which must be escaped.
2026-05-10 23:20:15 +02:00
dathegreat
a97aa7d724 languages/haskell.nix: address PR comments
- Rename hls -> haskell-language-server to match the nixpkgs name
- Remove unneeded injection
- Only set lsp filetypes in the language module, not the preset
- Remove unneeded `mkDefault`
- Use `root_markers` instead of yucky inline Lua
2026-05-10 23:20:15 +02:00
dathegreat
ca21d43590 languages/haskell.nix: move haskell-tools config into languages.haskell.extensions and hls presets into lsp/presets/hls.nix 2026-05-10 23:20:15 +02:00
dathegreat
ff84f1c0ff languages/haskell.nix: revert list expansion 2026-05-10 23:20:15 +02:00
dathegreat
171a5bf656 languages/haskell.nix: fix invalid keys in the haskell-tools configuration
These keys presented the error `unrecognized configs in
vim.g.haskell_tools: { "hls.filetypes", "hls.root_dir",
"tools.hover.enable", "hls.enable" }` on attaching to any haskell file.
2026-05-10 23:20:15 +02:00
Snoweuph
c4e3a08812
languages/scss: init 2026-05-03 21:26:02 +02:00
CaueAnjos
e60803d9d6 languages/csharp: add csharpier formatter and assertions 2026-04-24 18:47:15 -03:00
CaueAnjos
1628aa93b7 languages/csharp: add csharpls-extended-lsp-nvim extension 2026-04-24 18:47:15 -03:00
CaueAnjos
3c8885b75a languages/csharp: add omnisharp-extended-lsp-nvim extension 2026-04-24 18:47:15 -03:00
CaueAnjos
c73e781a3d languages/csharp: add roslyn-nvim extension 2026-04-24 18:47:15 -03:00
CaueAnjos
99c2594edd languages/csharp: update lsp servers 2026-04-24 18:47:15 -03:00
Snoweuph
cee03d0c97 languages/nix: fix treesitter nvf query for vim.treesitter.queries 2026-04-24 21:55:14 +02:00
Snoweuph
10d7bb38ff languages/jinja: add injection 2026-04-24 21:55:14 +02:00
Snoweuph
e201640fc9 languages/yaml: add treesitter filetype mappings for yml 2026-04-24 21:55:14 +02:00
Snoweuph
2592c16878 languages/bash: add filetype mappings for ash, dash and zsh 2026-04-24 21:55:14 +02:00
Snoweuph
27b4dc9fb0 treesitter: rename queries content to query 2026-04-24 21:55:14 +02:00
Snoweuph
9bd49b25e9
languages/vue: init 2026-04-22 23:27:38 +02:00
Snoweuph
c4a7fd88b5
languages/java: add extension gradle.nvim 2026-04-22 20:17:15 +02:00
Snoweuph
b00e829594
languages/java: add extension maven.nvim 2026-04-22 20:16:48 +02:00
Snoweuph
fbb27a80c5
languages/tera: add injection 2026-04-20 16:27:16 +02:00
Snoweuph
56db4e1cbd
languages/go: add injections for gotmpl 2026-04-20 16:27:14 +02:00
Snoweuph
c4b940239b
languages/nix: add more nvf injections 2026-04-20 16:27:13 +02:00
Snoweuph
6fe9ecd995
neovim/queries: init and add an example injection 2026-04-19 17:41:15 +02:00
Snoweuph
f066a65b6e
lsp/presets/angular-language-server: init 2026-04-19 12:43:55 +02:00