1520 Commits

Author SHA1 Message Date
David
53140ef031
fix(util): root_markers_with_field should not match directories #4219 2025-11-27 09:58:49 -08:00
Justin M. Keyes
abf6d190f2
docs: add deprecation notice to lua/lspconfig/configs #4189 2025-11-15 13:32:05 -08:00
Seiya
50a5176795
fix!: remove ocamlls #4118
ocamlls was added at #76.
It was because ocaml-lsp-server, which is official one, was too young.
In 2025, the official one works fine. On the other hand, unofficial
ocaml-language-server is not maintaned. We can no longer access its
GitHub repository.

Issue: #4115
2025-10-10 08:08:42 -07:00
Pete Coleman
fc253c0e27
fix(utils): normalize root_pattern result #4093 2025-09-23 11:56:16 -07:00
Justin M. Keyes
1f7fbc34e6
refactor!: deprecate old framework/configs, Nvim 0.10 #4077 2025-09-17 20:30:24 -07:00
Aleš Brelih
1c505a2a37
fix(gitlab_ls): root dir ordering #4025
Problem:
If project had a nested child gitlab file named: .gitlab-ci.yml it would
take it as root.

Solution:
If inside GIT repository just use git repository root as root and still
keep the option for .gitlab* as fallback if there is no git repo yet.
2025-08-21 19:14:23 -07:00
Tomáš Janoušek
66274c2ed7
refactor(yamlls): non-hacky way to enable formatting #4012
Faking capabilities isn't necessary to enable formatting support. It's a
dynamically registered capability that yamlls announces whenever yaml
formatting is enabled in settings, which it isn't by default.

See
3821411ee8/src/yamlServerInit.ts (L128)
3821411ee8/src/languageserver/handlers/settingsHandlers.ts (L159-L174)

Fixes: 63a016437e44 ("feat(yamlls): document formatting support #4003")
2025-08-19 07:43:28 -07:00
Andrew Marshall
4da7247b2b
fix(clangd): old config style still including proto filetype #3998
Missing change from cc6b21ea16cc12df290152f02513a8bd0ed9d932.
2025-08-14 17:23:14 -07:00
Sebastian Lyng Johansen
26ccc7f9f7
refactor(lsp): vim.lsp.get_log_path() -> vim.lsp.log.get_filename() #3997 2025-08-14 11:31:21 -07:00
Alex Efros
9141be4c13
fix(golangci_lint_ls): support v2 wrapper script #3984 2025-08-05 19:03:23 -07:00
Jeriel Baptista Verissimo
5fecfeaf08
feat(harper): clojure filetype #3952 2025-07-16 19:06:56 -07:00
G'lek Tarssza
6b9897acf5
docs: correct install command for pug lsp #3926
Problem:
Installing the pug lsp using the suggested method (`go get github.com/opa-oz/pug-lsp`)
does not work in the latest versions of `go` and instead produces a
message the "'go get' is no longer supported outside a module".

Solution:
Change the install command for the pug lsp to the correct command which
is `go install github.com/opa-oz/pug-lsp@latest`.
2025-06-24 06:47:11 -07:00
Dmytro Meleshko
0112e1f779
fix: some on_attach callbacks may act on the wrong buffer #3916
Problem:
If a server is attached to a non-current buffer by
`vim.lsp.buf_attach_client`, then the Language Server-related
commands may be created in the current (wrong) buffer.

Solution:
Always use the `bufnr` arg provided to `on_attach`.
2025-06-20 06:07:25 -07:00
jxu
d5d48be32a
docs(millet): update install target to millet-ls #3903 2025-06-11 18:22:30 -07:00
qvalentin
cd864ac0d4
fix(helm_ls,yamlls): support custom filetype for helm-ls #3893 2025-06-07 18:20:55 -07:00
Damien Pontifex
36255be0c6
feat(bicep): add bicep-params filetype #3886
- Support for .bicepparam files

Resolves #3885
2025-06-04 06:26:37 -07:00
Sola
2a38a426a2
fix(fish_lsp): various improvements #3869
Apply suggestions brought up by the `fish_lsp` author:
https://github.com/mason-org/mason-registry/pull/8609#issuecomment-2904347943
2025-05-26 08:30:12 -07:00
Alex Efros
5c97c756f1
feat(golangci_lint_ls): add support for v1 #3865 2025-05-22 03:52:59 -07:00
Justin M. Keyes
c671605ad0
refactor: generalize insert_package_json() #3833 2025-05-10 07:42:35 -07:00
David Bernheisel
af4a9f5ce5
feat(tailwindcss): add detection for Phoenix projects #3831
Enhance root directory detection for the latest versions of
TailwindCSS v4, which no longer require tailwind.config.* or
postcss.config.*.

For Phoenix projects, they are typically generated or add Tailwind
installed via https://github.com/phoenixframework/tailwind which will
now be detected by scanning the mix.lock file for the included package.

Phoenix projects that install tailwindcss via package.json should still
work.
2025-05-09 17:44:12 -07:00
Justin M. Keyes
2a6517453f
fix(configs): eliminate some usages of root_pattern #3820
Problem:
`root_pattern` is not necessary for non-glob patterns.

Solution:
Replace non-glob cases with `vim.fs.root()`..
2025-05-04 14:11:18 -07:00
luca-sartore-prorob
5eb30c9d70
perf: execute sanitize_cmd only on Windows to speed up WSL #3808
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2025-04-30 04:44:25 -07:00
Justin M. Keyes
022ddc8fe9
Revert "fix(configs): remove sanitize_cmd #3806
This reverts commit 8bb2facd6fa664fe200d2d491f9f7734202426fd.
2025-04-29 14:30:38 -07:00
Henrik Hautakoski
d2b5c23164
feat: laravel-ls #3802 2025-04-29 01:17:59 -07:00
Alexis Tacnet
9c6bbb5d11
fix: improve typescript server path search for ts-dependent lsp #3795 2025-04-28 05:11:00 -07:00
Mohamed Hubail
641e567f97
feat(util): support "package.json5" #3794
Problem:
Root detection fails when using `package.json5`. #3710

Solution:
Modify `insert_package_json` to support `package.json5`.
2025-04-27 07:13:04 -07:00
jrop
8bb2facd6f
fix(configs): remove sanitize_cmd #3778
Problem:
exepath is slow on WSL/Windows.

Solution:
Remove sanitize_cmd: absolute paths are nice, but not necessary.
2025-04-26 05:14:59 -07:00
Justin M. Keyes
af34737b3a
refactor: deprecate util.validate_bufnr() 2025-04-23 06:50:22 -07:00
Justin M. Keyes
79c12bc6e7 refactor: deprecate util.path.search_ancestors() 2025-04-23 15:08:14 +02:00
Justin M. Keyes
ae74b95c98 refactor: deprecate util functions 2025-04-23 14:16:00 +02:00
Kris
6af04d96db
docs(rpmspec): updated cmd and description #3756
This change was made because the current configuration (as of today) does not actually work. This new configuration addresses that issue by updating the cmd used for executing the lsp server. As well as updating the description to instruct users on how to install `rpm-spec-language-server`.
2025-04-23 04:50:22 -07:00
George
84dbb703db
docs(sqls): fix install instructions #3758 2025-04-22 04:42:42 -07:00
Justin M. Keyes
bb7833d1be
Revert "fix(util): improve wildcard escaping" #3729
This reverts commit e39da6a820d2a700904117d29f0dd476d64262cf.
2025-04-15 07:15:25 -07:00
ryoppippi
e39da6a820
fix(util): improve wildcard escaping #3690
The escape_wildcards function was enhanced to handle a broader range of
special characters that could cause issues when used in pattern matching.
This includes additional wildcards, pattern matching characters, shell
special characters, the escape character itself, and whitespace.

This change provides more robust path handling throughout the codebase
when dealing with file paths that contain special characters.

Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
2025-04-14 07:58:53 -07:00
Oliver Mannion
6ac17e69a3
feat(typos-lsp): support pyproject.toml and Cargo.toml #3707 2025-04-12 16:35:35 -07:00
Chris Bandy
4ea9083b6d
refactor: replace vim.loop with vim.uv #3703
The former is deprecated in neovim 0.10. Remove the check added in
9b89ba5f158f73779cd58d0bb2783dfb40b28b0e.

See: https://github.com/neovim/neovim/blob/v0.10.0/runtime/doc/deprecated.txt#L55
2025-04-10 15:48:31 -07:00
kocv59
d87f99f77c
fix(stylelint): update root_file, filetypes #3702 2025-04-09 03:10:44 -07:00
Dimitris Dimitropoulos
b2b0ac24f6
feat(tinymist): workspace commands #3639 2025-04-08 05:45:42 -07:00
Gilles Querret
442e077e32
fix(openedge_ls): update configuration #3623
* Changed Jar file name
* New 'debug' attribute
* Send 'init_options' object to language server
2025-04-07 02:54:07 -07:00
Josh Bode
fb0b7dcb70
feat: bqls #3486 2025-04-05 18:44:12 -07:00
Matěj Cepl
692574e00f
feat: rpmspec #3568
rpm-spec-language-server is the Language Server for RPM spec files

https://github.com/dcermak/rpm-spec-language-server
2025-04-05 17:27:38 -07:00
Justin M. Keyes
96cfcfde42
refactor: deprecate get_active_client_by_name #3697 2025-04-05 17:17:35 -07:00
Justin M. Keyes
462ded6ee3
refactor: deprecate add_hook_before/after #3695
These are special-purpose functions that should never have been
"public".
2025-04-05 16:36:39 -07:00
Justin M. Keyes
3dbc4a61e5
refactor: deprecate util.get_lsp_clients #3694 2025-04-05 16:29:56 -07:00
Justin M. Keyes
52d857c603
refactor: deprecate util functions #3691
These are only used by the old health.lua, which only exists for Nvim 0.10 back-compat.
2025-04-05 15:49:12 -07:00
liam
83f376fad2
feat: "just" lsp #3655 2025-04-05 08:59:53 -07:00
Igor Lacerda
32ed352bc7
feat(svelte): command to migrate to svelte 5 #3638 2025-04-05 08:58:47 -07:00
Justin M. Keyes
2aacdb4841
Revert "fix(eslint): find closest ESLint directory to avoid version mismatch …" #3689
This reverts commit 93835565a746e252b3342dbab688c22bdea81da7.
2025-04-05 06:14:21 -07:00
Estacio Pereira
93835565a7
fix(eslint): find closest ESLint directory to avoid version mismatch #3686 2025-04-04 04:34:33 -07:00
Anirudh
c47fffd966
fix(tblgen): find tablegen_compile_commands.yml #3649
The tblgen_lsp_server doesn't seem to load any specific compilation
database server and hence we need to explicitly specify the command-line
argument to pick the correct database path.
2025-04-02 06:42:14 -07:00