Skip to content

Commit

Permalink
[swift] Add support for lsp
Browse files Browse the repository at this point in the history
See #11604
  • Loading branch information
smile13241324 committed Sep 11, 2024
1 parent f436be6 commit 084869e
Show file tree
Hide file tree
Showing 32 changed files with 233 additions and 80 deletions.
24 changes: 12 additions & 12 deletions CHANGELOG.develop
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ both Racer and RLS not being maintained anymore.
- dotnet (thanks to Jordan Kaye)
- eaf (thanks to Daniel Nicolai)
- import-js (thanks to Thanh Vuong and Seong Yong-ju)
- kubernetes with tramp support (thanks to Matt Bray and Maximilian Wolff)
- kubernetes with tramp support (thanks to Matt Bray and Maxi Wolff)
- languagetool (thanks to Robbert van der Helm)
- lsp (thanks to Fangrui Song, 0bl.blwl, Cormac Cannon, Juuso Valkeejärvi,
Guan Xipeng, Ivan Yonchovski, Justin Martin, dscole and Sylvain Benner)
Expand All @@ -515,7 +515,7 @@ both Racer and RLS not being maintained anymore.
**** WEB services
- confluence
- reddit
- eww (thanks to Colton Kopsa, Maximilian Wolff and Daniel Nicolai)
- eww (thanks to Colton Kopsa, Maxi Wolff and Daniel Nicolai)
- lobsters
- hackernews
- streamlink
Expand Down Expand Up @@ -566,7 +566,7 @@ both Racer and RLS not being maintained anymore.
- New variable =dotspacemacs-startup-buffer-show-version=
(thanks to Zach Pearson)
- New variable =dotspacemacs-read-process-output-max= to optimise lsp
performance in emacs 27 (thanks to Maximilian Wolff)
performance in emacs 27 (thanks to Maxi Wolff)
- New variable =dotspacemacs-show-trailing-whitespace= (thanks to duianto)
- New var =dotspacemacs-startup-buffer-multi-digit-delay= (thanks to duianto)
- New variable =dotspacemacs-scroll-bar-while-scrolling= (thanks to duianto)
Expand Down Expand Up @@ -1458,7 +1458,7 @@ Other:
- Fixed value of =persp-add-buffer-on-after-change-major-mode= to add free
buffers to current layout (thanks to Miciah Masters)
- Keep previous position on =toggle-maximize-buffer= (thanks to Ag Ibragimov)
- Deactivate =evil-escape= in =holy-mode= (thanks to Maximilian Wolff)
- Deactivate =evil-escape= in =holy-mode= (thanks to Maxi Wolff)
- Removed obsolete =purpose-conf= argument for good
(thanks to Codruț Constantin Gușoi)
- Stopped configuring =fci-rule-color=, which was overriding themes that
Expand Down Expand Up @@ -1491,7 +1491,7 @@ Other:
- Required =ivy= to load =counsel-projectile= (thanks to Thanh Vuong)
- Remove obsolete custom location for =counsel-css= (thanks to Richard Kim)
- Make =search-engine= layer support custom keywords for =engine-mode=
(thanks to Maximilian Wolff)
(thanks to Maxi Wolff)
- Fixed =search-engine= layer customization issue (thanks to Haisheng Wu)
- Replaced deprecated =avy--generic-jump= with =avy-jump=
(thanks to Dominik Schrempf)
Expand Down Expand Up @@ -1953,14 +1953,14 @@ Other:
- Kill buffer shall return to *docker-containers* (thanks to Francesc Elies)
- Key bindings:
- Moved key bindings prefix from ~SPC D~ to ~SPC a D~ (thanks to Ag Ibragimov)
- Added ~SPC m c B~ to build image without cache (thanks to Maximilian Wolff)
- Added ~SPC m c B~ to build image without cache (thanks to Maxi Wolff)
Henar)
- Added ~SPC a D C~ for =docker-compose= (thanks to Daniel Caixinha)
- Added ~SPC a D n~ for =docker-networks= (thanks to Ramz)
- Added ~SPC a D v~ for =docker-volumes= (thanks to Ramz)
- Added ~SPC a D m~ for =docker-machines= (thanks to Ramz)
- Fixed: broken package declaration for dockerfile-mode
(thanks to Maximilian Wolff)
(thanks to Maxi Wolff)
- Added LSP support
- Dockerfile mode keybindings (thanks to Alfonso Montero):
- Flatten ~cb~ and ~cB~ build commands into ~b~ and ~B~ to save keystrokes.
Expand Down Expand Up @@ -3138,12 +3138,12 @@ files (thanks to Daniel Nicolai)
(thanks to Miciah Dashiel Butler Masters)
- Use =org-mime= provided by melpa (thanks to Amos Bird)
- Restore =evil-org-additional-bindings= in insert state
(thanks to Maximilian Wolff)
(thanks to Maxi Wolff)
- Fixed initialization order to prevent version conflicts
(thanks to Sylvain Benner)
- Fixed adding =org-projectile= files to =org-agenda-files= (thanks to AmanYang)
- Fixed error void: =evil-surround-pairs-alist= (thanks to Sylvain Benner)
- Added warning against manually loading org (thanks to Maximilian Wolff)
- Added warning against manually loading org (thanks to Maxi Wolff)
- Added a toggle for bringing in org-trello (thanks to Magnus Therning)
- Added the org-mode keybindings to the org-journal major mode
(thanks to Marty Buchaus)
Expand Down Expand Up @@ -3585,7 +3585,7 @@ files (thanks to Daniel Nicolai)
- Restore =auto-completion-idle-delay= value for =company-idle-delay=
(thanks to Miciah Dashiel Butler Masters)
- Added =auto-completion-minimum-prefix-length= layer variable
(thanks to Maximilian Wolff)
(thanks to Maxi Wolff)
- Added =shell-default-width= layer variable (thanks to David Balatero)
- Function =resize-shell-to-desired-width= check for shell buffer before
changing size (thanks to thanhvg)
Expand Down Expand Up @@ -3624,7 +3624,7 @@ files (thanks to Daniel Nicolai)
(thanks to Alexander-Miller)
- Added bashate style checker (thanks to Victor Cuadrado Juan)
- Added insert commands from sh-script package to major mode menu
(thanks to Maximilian Wolff)
(thanks to Maxi Wolff)
- Added org-mode support (thanks to Josh Santos)
- Added LSP support, which can be used by enabling the =lsp= layer and setting
the =shell-scripts= layer's =shell-scripts-backend= variable to =lsp=
Expand Down Expand Up @@ -3976,7 +3976,7 @@ files (thanks to Daniel Nicolai)
Wygant, Kenji Miyazaki ,Kevin Ji, Kristoffer Haugsbakk, lawrsp, Leo Joseph
Buchignani III, liuchong, Lucius Hu, Luke Winship, Luke Worth, Marco Ieni,
Marco Zucconelli, mark30247, Markus Bertheau, Martin Sosic, Max Beutelspacher,
Max Deineko, Max Nordlund, Maximilian Wolff, Miciah Dashiel Butler Masters,
Max Deineko, Max Nordlund, Maxi Wolff, Miciah Dashiel Butler Masters,
mjkramer, Mikhail Yakutovich, Miloš Mošić, milserk, Muneeb Shaikh,
nanashi0x74, Nasser Alshammari, Niko Felger, Nikolai Myllymäki, nikolaiam,
Nicolas Forgerit, Oguz Serbetci, Olivier Verdier, Pancho Horrillo, Paul Milla,
Expand Down
2 changes: 1 addition & 1 deletion layers/+emacs/helpful/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/clojure/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/crystal/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/elm/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/elm/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/extempore/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/fsharp/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/fsharp/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
12 changes: 6 additions & 6 deletions layers/+lang/groovy/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
This layer supports [[http://www.groovy-lang.org/][Groovy]] development in Spacemacs.

** Features:
- Auto-completion
- Syntax-checking
- Auto-generate imports with [[https://github.com/mbezjak/emacs-groovy-imports][groovy-imports]]
- Groovy REPL integration
- Syntax highlighting
- Auto-completion
- Syntax-checking
- Auto-generate imports with [[https://github.com/mbezjak/emacs-groovy-imports][groovy-imports]]
- Groovy REPL integration
- Syntax highlighting

* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
Expand Down Expand Up @@ -74,7 +74,7 @@ LSP layer. Also it is advisable to have a look
at the autocomplete layer for an optimal
intellisense config for LSP.

NOTE: The build on [[https://github.com/prominic/groovy-language-server]] will generate two jar files. You will need the ~groovy-language-server-all.jar~ as the ~groovy-lsp-jar-path~.
NOTE: The build on [[https://github.com/prominic/groovy-language-server]] will generate two jar files. You will need the ~groovy-language-server-all.jar~ as the ~groovy-lsp-jar-path~.

* Key bindings
** Imports
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/groovy/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/groovy/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
1 change: 1 addition & 0 deletions layers/+lang/groovy/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
(defconst groovy-packages
'(
company
flycheck
groovy-imports
groovy-mode
org))
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/kotlin/config.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/kotlin/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/kotlin/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/latex/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/nim/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/nim/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
2 changes: 1 addition & 1 deletion layers/+lang/perl5/layers.el
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
;;
;; Copyright (c) 2012-2024 Sylvain Benner & Contributors
;;
;; Author: Maximilian Wolff <smile13241324@gmail.com>
;; Author: Maxi Wolff <smile13241324@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
Expand Down
Loading

0 comments on commit 084869e

Please sign in to comment.