Skip to content

Commit 9b29217

Browse files
authored
Merge branch 'master' into ts-import-module-specifier-ending
2 parents 4fbc394 + 6529610 commit 9b29217

File tree

118 files changed

+6533
-1162
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+6533
-1162
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v6
1414

1515
- name: CHANGELOG.org -> CHANGELOG.md
1616
uses: docker://pandoc/core:2.9
1717
with:
1818
args: -s CHANGELOG.org -t gfm -o docs/page/CHANGELOG.md
1919

20-
- uses: purcell/setup-emacs@master
20+
- uses: jcs090218/setup-emacs@master
2121
with:
22-
version: 27.1
22+
version: 30.2
2323

24-
- uses: conao3/setup-cask@master
24+
- uses: emacs-eask/setup-eask@master
2525
with:
26-
version: 0.8.4
26+
version: 'snapshot'
2727

2828
- name: Generate LSPs docs
2929
run: 'make docs'
3030

3131
- name: Docker Login
32-
uses: docker/login-action@v1.14.1
32+
uses: docker/login-action@v3.6.0
3333
with:
3434
registry: ghcr.io
3535
username: $GITHUB_ACTOR

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414

15-
- uses: purcell/setup-emacs@master
15+
- uses: jcs090218/setup-emacs@master
1616
with:
17-
version: 27.1
17+
version: 30.2
1818

1919
- uses: emacs-eask/setup-eask@master
2020
with:

.github/workflows/test.yml

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- master
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
test:
@@ -13,80 +14,95 @@ jobs:
1314
strategy:
1415
fail-fast: false
1516
matrix:
16-
os: [ubuntu-latest, macos-latest, windows-latest]
17+
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
1718
emacs-version:
18-
- 27.2
1919
- 28.2
20-
- 29.3
20+
- 29.4
21+
- 30.2
2122
experimental: [false]
2223
include:
2324
- os: ubuntu-latest
2425
emacs-version: snapshot
2526
experimental: true
27+
- os: ubuntu-24.04-arm
28+
emacs-version: snapshot
29+
experimental: true
2630
- os: macos-latest
2731
emacs-version: snapshot
2832
experimental: true
2933
- os: windows-latest
3034
emacs-version: snapshot
3135
experimental: true
32-
exclude:
33-
- os: macos-latest
34-
emacs-version: 27.2
3536

3637
steps:
3738
- uses: jcs090218/setup-emacs@master
3839
with:
3940
version: ${{ matrix.emacs-version }}
4041

41-
- uses: emacs-eask/setup-eask@master
42+
- name: Setup Eask (x64)
43+
uses: emacs-eask/setup-eask@master
44+
if: matrix.os != 'ubuntu-24.04-arm'
45+
with:
46+
version: 'snapshot'
47+
architecture: 'x64'
48+
49+
- name: Setup Eask (arm64)
50+
uses: emacs-eask/setup-eask@master
51+
if: matrix.os == 'ubuntu-24.04-arm'
4252
with:
4353
version: 'snapshot'
54+
architecture: 'arm64'
4455

45-
- name: Setup cmake
56+
- name: Setup cmake (x64)
4657
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
4758
uses: jwlawson/[email protected]
4859
with:
4960
cmake-version: '3.18.x'
5061

62+
- name: Setup cmake (arm64)
63+
if: matrix.os == 'ubuntu-24.04-arm'
64+
uses: lukka/get-cmake@latest
65+
5166
- name: Check cmake
52-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
67+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == 'macos-latest'
5368
run: "cmake --version"
5469

55-
- uses: actions/setup-python@v5.1.0
70+
- uses: actions/setup-python@v6.1.0
5671
with:
5772
python-version: "3.9"
5873

59-
- name: Install depedencies on Linux
74+
- name: Install depedencies (Linux)
6075
if: runner.os == 'Linux'
6176
run: |
6277
pip3 install python-language-server
63-
sudo apt-get install clangd-11
78+
sudo apt-get update
79+
sudo apt-get install clangd-15
6480
65-
- name: Install depedencies on macOS
81+
- name: Install depedencies (macOS)
6682
if: runner.os == 'macOS'
6783
run: |
6884
pip3 install python-language-server
6985
7086
- name: Check clangd
7187
if: runner.os == 'Linux'
72-
run: "clangd-11 --version"
88+
run: "clangd-15 --version"
7389

74-
- uses: actions/checkout@v4
90+
- uses: actions/checkout@v6
7591

76-
- name: Grant execution permission
77-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
92+
- name: Grant execution permission (Unix)
93+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == 'macos-latest'
7894
run: chmod -R 777 ./
7995

8096
- name: Run tests (Unix)
81-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
97+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == 'macos-latest'
8298
run: make unix-ci
8399

84100
- name: Run tests (Windows)
85101
if: matrix.os == 'windows-latest'
86102
run: make windows-ci
87103

88104
- name: Move built artifact (Unix)
89-
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
105+
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm' || matrix.os == 'macos-latest'
90106
run: |
91107
mv -f ./.eask/ ./test/downstream/.eask/
92108
mv -f ./dist/ ./test/downstream/dist/

CHANGELOG.org

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
* Changelog
22
** Unreleased 9.0.1
3+
* Add explicit flag to enable (or disable) JSON validation.
4+
* Fix Accommodate renaming of lsp-postgres binaries
5+
* Fix =lsp-org= for org >= 9.7 (see #4300)
6+
* Add format on save support
7+
* Fix beancount journal file init option
38
* Add support for [[https://github.com/glehmann/earthlyls][earthlyls]]
49
* Add support for GNAT Project (~gpr-mode~, ~gpr-ts-mode~).
510
* Add SQL support
@@ -8,6 +13,46 @@
813
* Added a new optional ~:action-filter~ argument when defining LSP clients that allows code action requests to be modified before they are sent to the server. This is used by the Haskell language server client to work around an ~lsp-mode~ parsing quirk that incorrectly sends ~null~ values instead of ~false~ in code action requests.
914
* Add support for C# via the [[https://github.com/dotnet/roslyn/tree/main/src/LanguageServer][Roslyn language server]].
1015
* Add basic support for [[https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_pullDiagnostics][pull diagnostics]] requests.
16+
* Add ~lsp-flush-delayed-changes-before-next-message~ customization point to enforce throttling document change notifications.
17+
* Add ~lsp-sql-show-tables~ command.
18+
* Fix bug in ~rust-analyzer.check.features~ configuration via ~lsp-rust-checkonsave-features~ Emacs setting: we were defaulting to ~[]~, but ~rust-analyzer~ defaults to inheriting the value from ~rust-analyzer.cargo.features~. The bug resulted in code hidden behind features not getting type checked when those features were enabled by setting ~rust-analyzer.cargo.features~ via the ~lsp-rust-features~ Emacs setting.
19+
* Change ~ruff-lsp~ to ~ruff~ for python lsp client. All ~ruff-lsp~ customizable variable change to ~ruff~. Lsp server command now is ~["ruff" "server"]~ instead of ~["ruff-lsp"]~.
20+
* Add futhark support
21+
* Optimize overlay creation by checking window visibility first
22+
* Replace the per-interface ~(INTERFACE ...)~ pcase forms with a single,
23+
unified ~(lsp-interface INTERFACE ...)~ form. The per-interface forms are no
24+
longer generated. *This is a breaking change.* (See #4430.)
25+
* If asm-lsp is installed, lsp-asm won't try to download it to cache store
26+
* Fix lsp-unzip on windows when unzip was found on the PATH
27+
* Fix zls wrong bin path
28+
* Add support for buf CLI ([[https://github.com/bufbuild/buf/releases/tag/v1.43.0][beta]])
29+
* Add fennel support
30+
* Add support for [[https://github.com/nextflow-io/language-server][Nextflow]]
31+
* Add TypeSpec support
32+
* Add Tree-sitter query support
33+
* Add [[https://github.com/mrjosh/helm-ls][helm-ls]] (YAML Kubernetes Helm) support.
34+
* Add ~lsp-bash-allowed-shells~ to configure supported ~sh-shell~ values.
35+
* Add hint about ~activation-fn~ for unsupported buffers.
36+
* Add Roc support
37+
* Add support for environment variables in rust analyzer runnables. Allowing the new ~Update Tests (Expect)~ code lens to work as expected.
38+
* Add support for [[https://github.com/mathworks/MATLAB-language-server][MATLAB language server]] (requires [[https://github.com/MathWorks/Emacs-MATLAB-Mode][matlab-mode]]).
39+
* Add support for [[https://github.com/c3lang/c3c][c3 language]] (requires [[https://github.com/c3lang/c3-ts-mode][c3-ts-mode]] and [[https://github.com/pherrymason/c3-lsp][c3lsp]]).
40+
* Drop support for emacs 27.1 and 27.2
41+
* Add ~lsp-nix-nixd-server-arguments~ to allow passing arguments to the ~nixd~ LSP.
42+
* Improve the lsp-ocaml client (see [[https://github.com/emacs-lsp/lsp-mode/issues/4731][#4731]] for the follow-up issue. MRs: [[https://github.com/emacs-lsp/lsp-mode/pull/4741][#4741]], [[https://github.com/emacs-lsp/lsp-mode/pull/4732][#4732]])
43+
* Add support for ~source.removeUnusedImports~ for lsp-javascript
44+
* Add Python(ty) support
45+
* Add support for [[https://github.com/tombi-toml/tombi][Tombi language server]] (TOML language).
46+
* Make lsp-headerline--check-breadcrumb public
47+
* Added Odin langauge server support [[https://github.com/DanielGavin/ols][ols]]
48+
* Fix bug in lsp-odin where ~f-join~ collapses double slashes. Using ~format~ instead.
49+
* Fix missing gopls inlay hints when ~lsp-use-plist~ is true
50+
* Fix bug where persist was attempted when lsp-session-file is nil
51+
* Debugging tests in Rust no longer runs all the tests prior to launching debug session.
52+
* Add [[https://devenv.sh/][devenv]] and [[https://jj-vcs.github.io/jj/latest/][jj]] directories to the list of ignored directories (~lsp-file-watch-ignored-directories~)
53+
* Fix bug where qmlls failed to load due to qml not being in ~lsp-language-id-configuration~
54+
* Fix default value for ~lsp-rust-analyzer-cargo-cfgs~
55+
* Add ~lsp-ruby-lsp-server-command~ variable to allow overriding of the path to ~ruby-lsp~ executable
1156
* Add support for the ~javascript.preferences.importModuleSpecifierEnding~ and ~typescript.preferences.importModuleSpecifierEnding~ preferences.
1257

1358
** 9.0.0
@@ -128,6 +173,7 @@
128173
* Add COBOL support.
129174
* Add Common Lisp support.
130175
* Add YANG support using TypeFox/yang-lsp Server.
176+
* Add Postgres langauge server support.
131177

132178
** Release 8.0.0
133179
* Add ~lsp-clients-angular-node-get-prefix-command~ to get the Angular server from another location which is still has ~/lib/node_modules~ in it.
@@ -194,6 +240,7 @@
194240
* Add support for signatureHelp using ~posframe~. #1999
195241
* Add ~iedit~ integration. #2478
196242
* Add client for Verible SystemVerilog language Server ([[https://github.com/chipsalliance/verible]])
243+
* Add support for per-project Beancount initialization-options
197244

198245
** Release 7.0.1
199246
* Introduced ~lsp-diagnostics-mode~.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ reliably would also make a huge difference.
3232

3333
## Pull requests
3434

35-
* Read [how to properly contribute to open source projects on Github][2].
35+
* Read [how to properly contribute to open source projects on GitHub][2].
3636
* Use the same coding conventions as the rest of the project.
3737
* Make sure that the unit tests are passing locally via `make test` or via the CI.
3838
* Write [good commit messages][3].

Eask

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
;; -*- mode: eask; lexical-binding: t -*-
2+
13
(package "lsp-mode"
24
"9.0.1"
35
"LSP mode")
@@ -29,7 +31,7 @@
2931
"lsp-semantic-tokens.el"
3032
"clients/*.el")
3133

32-
(depends-on "emacs" "27.1")
34+
(depends-on "emacs" "28.1")
3335
(depends-on "dash")
3436
(depends-on "f")
3537
(depends-on "ht")
@@ -50,3 +52,8 @@
5052
(depends-on "elenv"))
5153

5254
(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
55+
56+
(add-hook 'eask-before-compile-hook
57+
(lambda ()
58+
(setq byte-compile-error-on-warn t)
59+
(setq byte-compile-docstring-max-column 1000)))

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ most popular Emacs packages like `company`, `flycheck` and `projectile`.
9898
`company` frontend with icons.
9999
- [dap-mode](https://github.com/emacs-lsp/dap-mode) - Debugger
100100
integration for `lsp-mode`.
101-
- [eglot](https://github.com/joaotavora/eglot) - An alternative
102-
minimal LSP implementation.
101+
- [eglot](https://www.gnu.org/software/emacs/manual/html_node/eglot/) -
102+
A minimal LSP implementation built in to Emacs.
103103
- [which-key](https://github.com/justbur/emacs-which-key/) - Emacs
104104
package that displays available keybindings in popup
105105
- [projectile](https://github.com/bbatsov/projectile/) - Project

0 commit comments

Comments
 (0)