From e3a03bc75dcf06746e44584eba688a7630ec1508 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Fri, 26 Jan 2024 19:40:41 +0100 Subject: [PATCH 1/3] Fix KeyError exception triggered on closing a window (#2401) --- plugin/core/windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/core/windows.py b/plugin/core/windows.py index cd1e8b578..1c4cb43f9 100644 --- a/plugin/core/windows.py +++ b/plugin/core/windows.py @@ -545,7 +545,7 @@ def listener_for_view(self, view: sublime.View) -> Optional[AbstractViewListener def discard(self, window: sublime.Window) -> None: wm = self._windows.pop(window.id(), None) if wm: - wm.destroy() + sublime.set_timeout_async(wm.destroy) class RequestTimeTracker: From cb31560a5277523e29f6d75cb4057ab8924e8678 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=B4=D1=80=D0=B0=D0=B3=20=D0=9D=D0=B8?= =?UTF-8?q?=D0=BA=D0=BE=D0=BB=D0=B8=D1=9B?= Date: Fri, 26 Jan 2024 19:58:21 +0100 Subject: [PATCH 2/3] Cut 1.28.0 --- VERSION | 2 +- messages.json | 1 + messages/1.28.0.txt | 16 ++++++++++++++++ plugin/core/version.py | 2 +- 4 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 messages/1.28.0.txt diff --git a/VERSION b/VERSION index e43da41f6..3c71e4721 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.27.0 \ No newline at end of file +1.28.0 \ No newline at end of file diff --git a/messages.json b/messages.json index b76c6a4bd..7d12816dc 100644 --- a/messages.json +++ b/messages.json @@ -25,6 +25,7 @@ "1.25.0": "messages/1.25.0.txt", "1.26.0": "messages/1.26.0.txt", "1.27.0": "messages/1.27.0.txt", + "1.28.0": "messages/1.28.0.txt", "1.3.0": "messages/1.3.0.txt", "1.3.1": "messages/1.3.1.txt", "1.4.0": "messages/1.4.0.txt", diff --git a/messages/1.28.0.txt b/messages/1.28.0.txt new file mode 100644 index 000000000..53c59da9c --- /dev/null +++ b/messages/1.28.0.txt @@ -0,0 +1,16 @@ +=> 1.28.0 + +⚠️⚠️⚠️ +To ensure that everything works properly after LSP package is updated, +it's strongly recommended to restart Sublime Text once it finishes updating all packages. +⚠️⚠️⚠️ + +# New features + +- Support setting cursor position in text edits (https://github.com/sublimelsp/LSP/pull/2389) (Rafał Chłodnicki) + +# Fixes and Improvements + +- Include lsp_utils settings in LSP (https://github.com/sublimelsp/LSP/pull/2395) (Rafał Chłodnicki) +- Add `stimulus-lsp` to docs (https://github.com/sublimelsp/LSP/pull/2391) (Óscar Carretero) +- Add `asm-lsp` to docs (https://github.com/sublimelsp/LSP/pull/2400) (Will Lillis) diff --git a/plugin/core/version.py b/plugin/core/version.py index c385db2e5..594b8564f 100644 --- a/plugin/core/version.py +++ b/plugin/core/version.py @@ -1 +1 @@ -__version__ = (1, 27, 0) +__version__ = (1, 28, 0) From 9edc248a35f7ee6a8722dda4e77b8d35633fad15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Ch=C5=82odnicki?= Date: Fri, 26 Jan 2024 21:47:33 +0100 Subject: [PATCH 3/3] chore: deploy docs preview on docs changes (#2403) --- .github/workflows/docs.yml | 4 ++-- docs/Makefile | 15 +++++++++++++++ netlify.toml | 6 ++++++ 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 docs/Makefile create mode 100644 netlify.toml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3cf0eb632..48ba78440 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x - - run: pip install mkdocs-material mkdocs-redirects - run: | cd docs - mkdocs gh-deploy --force + make install + make deploy diff --git a/docs/Makefile b/docs/Makefile new file mode 100644 index 000000000..810cb028b --- /dev/null +++ b/docs/Makefile @@ -0,0 +1,15 @@ +# Minimal makefile for Sphinx documentation + +.PHONY: clean + +install: + pip install mkdocs mkdocs-material mkdocs-redirects + +build: + mkdocs build + +deploy: + mkdocs gh-deploy --force + +clean: + rm -rf site diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 000000000..b3b77b33c --- /dev/null +++ b/netlify.toml @@ -0,0 +1,6 @@ +# https://docs.netlify.com/configure-builds/file-based-configuration + +[build] + base = "docs/" + publish = "site/" + command = "make install && make build"