| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |\ |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Update the logic to infer the type properly when a Deno file is part of
a non-Deno monorepo project, enabling using the denols and ts_ls (or
tsgo) LSPs side by side in the same monorepo without conflict.
Fix: #4300
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem:
The filetypes javascript.tsx and typescript.tsx are not valid and have
been removed from other LSP configs recently.
Solution:
Remove them from the oxlint config.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem:
The Oxlint LSP configuration checks `package.json` for an "oxlint"
section in its `root_dir` function. However, Oxlint has never supported
configuration via `package.json`.
Solution:
Specify ".oxlintrc.json" in a `root_markers` table instead.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem:
Type-aware linting is not enabled by default, and it isn't obvious at
all how to do so in neovim based on the Oxlint documentation.
Solution:
Automatically enable type-aware linting if the necessary dependencies
are installed and the Oxlint config file references TypeScript.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Problem:
This commit originally implemented the `:LxpOxlintFixAll` command and
added help text for it. On rebase, it conflicted with another commit
which added the same command but did not add help text.
Solution:
Add help text for the `:LspOxlintFixAll` command.
|
| | | | |
|
| | | | |
|
| | | | |
|
| | |/
|/| |
|
| | | |
|
| | | |
|
| |/
|
|
| |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: justinmk <1359421+justinmk@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
Problem:
Ruby-lsp spawns in cwd even if lsp detected root directory correctly.
Solution:
Send CWD in the start cmd.
|
| |
|
|
|
|
|
|
| |
In [recent commit](https://github.com/razzmatazz/csharp-language-server/commit/f51cd9dec8b10b7fd8f475dac3a904e1da2c7217),
`csharp-language-server` started checking the language id due to the
support of Razor documents. Since vim's file type for C# is `cs` so all
things like hover documentation, go-to-definition etc. stopped working
after this commit when using the default config. This PR fixes that by
adding `get_language_id` to `csharp_ls.lua`.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
servers (#4242)
* feat(oxlint): use new oxlint --lsp command
* chores(oxlint): improve the root_dir logic to better match what oxlint does
* feat(oxlint): add default init config comments
* feat(oxlint): add LspOxlintFixAll command
* docs(oxlint): improve docs
* feat(oxfmt): add oxfmt language server
* fix(oxlint): fix lint issues
* Update lsp/oxfmt.lua
Co-authored-by: Tim Shilov <tim@shilov.dev>
* Update lsp/oxlint.lua
Co-authored-by: Tim Shilov <tim@shilov.dev>
* fix(oxlint/oxfmt): use root_dir as workspaceUri
* fix: correct configuration after oxc release
* fix: add supported Oxfmt languages
* fix: add languages supported by Oxlint
---------
Co-authored-by: Tim Shilov <tim@shilov.dev>
|
| |
|
| |
Co-authored-by: Daniel Schmitt <d.schmitt@lansoftware.de>
|
| |
|
| |
Co-authored-by: Daniel Schmitt <d.schmitt@lansoftware.de>
|
| |
|
|
|
|
|
| |
Explicitly setting `basedpyright.analysis.useLibraryCodeForTypes` is **discouraged** by the official docs, because it will override per-project configurations like `pyproject.toml`.
If left unset, its default value is still `true`, and it can be correctly overridden by project config files.
See: https://docs.basedpyright.com/latest/configuration/language-server-settings/
|
| |
|
|
|
|
|
|
|
|
| |
This change set enables all possible output formats that exist for
golangci-lint. This is necessary because if a user configures output
formats in their `.golangci.yml` configuration (for example for CI) then
this is always in addition to the ones enabled on the command line.
Therefore, we manually disable all possible output formats.
Currently, there doesn't exist a `golangci-lint` option to exclusively
enable an output format or disable all from the config.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Change cmd from 'snyk-ls' to 'snyk language-server' to use unified CLI
- Add all Snyk-supported language filetypes: apex, apexcode, c, cpp, cs,
dart, dockerfile, elixir, eelixir, groovy, java, kotlin, objc, objcpp,
php, ruby, rust, scala, swift
- Update integrationVersion to use tostring(vim.version()) for automatic
version reporting instead of hardcoded '0.10.0'
- Add integrationName field for better telemetry (with capital 'N')
- Handle nil token with vim.NIL to fix type mismatch warning
- Add comprehensive user documentation covering authentication, trusted
folders, and advanced configuration options
- Update init_options with all scan types (Open Source, Code, IaC)
Co-authored-by: Nick Yasnogorodskyi <nikyasnogorodskyi@gmail.com>
|
| |
|
| |
PR #4130 prevents a bunch of lsps to start in a deno project, including biome. However I think the biome lsp should indeed be active in deno projects with a `biome.json`.
|
| |
|
| |
This introduces a language server for the Polar policy language (used by Oso).
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
## Problem:
erlang_ls is unmaintained:
https://github.com/erlang-ls/erlang_ls/issues/1596
## Solution
Drop erlang_ls in favor of lsp/elp.lua
fix https://github.com/neovim/nvim-lspconfig/issues/4283
|
| | |
|
| |
|
|
| |
Give same priority for .emmyrc.json and .luarc.json, lower priority to
other config files, and lowest priority to .git.
|
| |
|
|
|
|
|
|
|
|
| |
Correct nested table `workspace.library` setting.
`lua_ls` `workspace.library` setting expects an *1D string array*
`Array<string>` but the suggested documentation example sets a **2D
string array**, a nested table, instead.
https://github.com/neovim/nvim-lspconfig/blob/92ee7d42320edfbb81f3cad851314ab197fa324a/lua/lspconfig/configs/lua_ls.lua
https://luals.github.io/wiki/settings/#workspacelibrary
|
| |
|
|
|
|
|
|
|
| |
This patch adds support for [gn-language-server](https://github.com/google/gn-language-server), a language server for GN (the build configuration language used in Chromium, Fuchsia, and other projects).
While `nvim-lspconfig` already includes a configuration for [`gnls`](https://github.com/neovim/nvim-lspconfig/blob/master/lsp/gnls.lua) by Microsoft, this is a separate implementation written from scratch in Rust. Unlike the Microsoft version, which primarily focuses on single-file analysis, this server analyzes the entire workspace for definitions and references. To my knowledge, it is currently the most powerful GN language server available.
It is the officially recommended language server for Chromium and Fuchsia:
- Chromium: https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/vscode.md#recommended-extensions
- Fuchsia: https://fuchsia.googlesource.com/fuchsia/+/refs/heads/main/fuchsia.code-workspace#63
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Problem:
Biome server becomes active if biome appears as a substring in
package.json, even when biome is not being used.
Solution:
Since biome is behind the `@biomejs` namespace we can narrow its
activation by appending `js` in the searched term.
|
| | |
|
| |
|
| |
Try to guess the root_dir by getting the lsp client from the previous buffer.
|
| |
|
|
|
|
|
| |
Convert the cmd from a static array to a function that checks for a
locally installed tsgo binary in node_modules/.bin/ before falling
back to the global installation. This ensures projects using
@typescript/native-preview as a local dependency will use the correct
version, matching the pattern already used by biome.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
`csharp` is not a valid filetype in neovim. csharp files are of filetype `cs`.
You can see a warning by doing
```lua
vim.ls.enable({ "ast_grep"})
```
`:checkheatlh lsp` or `:LspInfo` shows this warning:
```
vim.lsp: Enabled Configurations
⚠️ WARNING Unknown filetype 'csharp' (Hint: filename extension != filetype).
```
|
| | |
|
| | |
|
| |
|
| |
It's more up-to-date than systemd-language-server.
|
| |
|
|
|
|
| |
The file `.harper-dictionary.txt` stores the workspace-specific
dictionary, thus making it a root marker.
https://writewithharper.com/docs/integrations/language-server#Workspace-Dictionary
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Problem:
The client:exec_cmd callback was incorrectly referencing to err variable
from the outer scope instead of the cmd_err variable from its on scope.
Could cause problems when err is nil but the cmd_err is not.
Solution:
Changed the reference from err to cmd_err
|