| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
Root directory is incorrect for projects containing a `package.json` file in subdirectories.
For a project with a given file structure:
```
my-monorepo/
├── package.json
├── yarn.lock
├── css/
│ └── css-variables/
│ ├── color.css
│ └── typography.css
└── components/
└── core/
└── my-feature/
├── package.json ← 2. causes LSP root to stop here
├── feature-component-a/
│ └── feature-component-a.module.css ← 1. current open buffer
└── feature-component-b/
└── feature-component-b.module.css
```
The LSP is using `my-feature` as the root directory. This directory is not the one where the css variables are defined. It leads to an issue where the css variables are not indexed, and from `feature-component-a.module.css` auto-completion and jump to definition are not working.
Solution:
Using the same `root_dir` logic as `ts_ls` (which prefers lockfiles like yarn.lock or .git as root markers) correctly sets the project root to `my-monorepo/`, allowing `css/css-variables/` to be discoverable for the LSP.
|
| |
|
|
|
|
|
| |
This option does not actually say what its purpose is, and it likely is
no longer relevant.
close #4136
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
| |
This updates the buf_ls command post v1.59.0, where the command was
promoted out of beta to general availability. The command was changed
from buf beta lsp to buf lsp serve.
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
| |
This removes bufls entirely. The was a prototype from years ago that was
never finised: https://github.com/bufbuild/buf-language-server was
archived.
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
ref 1f7fbc34e6420476142b5cc85e9bee52717540fb
ref #4095
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
| |
Problem:
`buf_change_env` uses `vim.ui.input` but the input prompt value is never used for `client:exec_cmd` (due to async).
Solution:
Call `client:exec_cmd` in `vim.ui.input`.
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
The GitHub repository has changed owners. The old URL redirects to the
new repository but updating it makes it clearer which project is
referenced by the documentation.
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
* feat(ast_grep): update the filetypes
* revert: revert changes in side `lus/lspconfig/config` as deprecated
|
| |
|
|
| |
skip-checks: true
|
| |
|
| |
Co-authored-by: Gautham Venkataraman <gautham@dexterenergy.ai>
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
| |
The root dir is already pre-resolved when the config is being passed
(when changing the code originally i looked and used wrong config type
so i missed this). So use the pre-resolved value instead of
resolving it again.
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- https://github.com/eclipse-jdtls/eclipse.jdt.ls?tab=readme-ov-file#running-from-the-command-line:
`-data` dir needs to be project-local and not shared. override cmd with
function. also use stdpath.cache like other lsp servers already do
- https://github.com/eclipse-jdtls/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request
`jvm_args`, `workspace`, `os_config` are not part of jdtls init_options
- https://github.com/eclipse-jdtls/eclipse.jdt.ls/blob/dbe1db974e9b4b472b8b1063fe7e5e7fc2a1fb7f/org.eclipse.jdt.ls.product/scripts/jdtls.py#L102
jdtls already sets correct shared configuration path, `-configuration`
is not needed (and it is os-specific value so current config is wrong)
Closes #4103
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using git directory as last resort before defaulting to pom.xml is
important for multi module maven projects. Example of structure:
pom.xml
submodule-a/pom.xml
submodule-b/pom.xml
If sumbodule-b depends on submodule-a (common pattern for dto/impl), the
parent usually has info about linking the 2 projects (and without that
go to definition etc will jump to compiled source that might not be
present/up t date).
This structure is also fine and do not breaks jdtls:
my-project/pom.xml
e.g its fine if working directory is git repo root (and this pattern is
also much less common than multi module maven projects that without this
change break always).
Closes #4102
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
| |
Problem: When running from a directory other than root (i.e monorepo),
ruby-lsp does not load correctly. Unsure why, previous lspconfig had
cmd_cwd set to the same as root_dir.
Solution:
Set the cmd_cwd via reuse_client(), similar to ast_grep. See #3850, #4082 for more details.
Tested both from root_dir and monorepo multi-root project.
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
| |
This drops the dependency on the deprecated `lspconfig.util`.
Signed-off-by: Edwin Török <edwin@etorok.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [leafo/gh-actions-luarocks](https://github.com/leafo/gh-actions-luarocks) from 5 to 6.
- [Release notes](https://github.com/leafo/gh-actions-luarocks/releases)
- [Commits](https://github.com/leafo/gh-actions-luarocks/compare/v5...v6)
---
updated-dependencies:
- dependency-name: leafo/gh-actions-luarocks
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
|
| |
skip-checks: true
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bumps [leafo/gh-actions-lua](https://github.com/leafo/gh-actions-lua) from 11 to 12.
- [Release notes](https://github.com/leafo/gh-actions-lua/releases)
- [Commits](https://github.com/leafo/gh-actions-lua/compare/v11...v12)
---
updated-dependencies:
- dependency-name: leafo/gh-actions-lua
dependency-version: '12'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| | |
|
| |
|
|
| |
skip-checks: true
|
| |
|
| |
Co-authored-by: Benedict Christian Smit <benedict.smit@tu-dortmund.de>
|
| | |
|
| |
|
|
| |
Although not common, the associated LSP (foam_ls) can handle single files just fine.
Fallback to git root, or the file's folder.
|