File tree 6 files changed +24
-20
lines changed
6 files changed +24
-20
lines changed Original file line number Diff line number Diff line change 1
- FROM yyoncho/gitpod-default:1.0.28
1
+ FROM yyoncho/gitpod-default:1.1.3
Original file line number Diff line number Diff line change @@ -12,13 +12,15 @@ RUN ./autogen.sh
12
12
RUN ./configure --with-pgtk --with-cairo --with-modules --with-native-compilation --with-json
13
13
RUN NATIVE_FULL_AOT=1 make -j8
14
14
15
- WORKDIR /home/gitpod/
15
+ RUN sudo apt-get update && sudo apt-get install -y ripgrep fasd libtool-bin
16
+
17
+ COPY fonts/* /home/gitpod/.local/share/fonts/
18
+ RUN mkdir -p /home/gitpod/.local/share/fonts/
16
19
17
- RUN mkdir -p .local/share/fonts/
18
- COPY fonts/* .local/share/fonts/
20
+ WORKDIR /home/gitpod/
19
21
20
22
COPY configs/install-packages.el /tmp/install-packages.el
21
- RUN ~/emacs/src/emacs --batch -l /tmp/install-packages.el
23
+ RUN LSP_USE_PLISTS=true ~/emacs/src/emacs --batch -l /tmp/install-packages.el
22
24
23
25
USER root
24
26
RUN mkdir /workspace/m2-repository/ -p
@@ -31,5 +33,3 @@ RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && ~/emacs/src/emacs --ba
31
33
COPY configs/init.el /home/gitpod/.emacs.d/init.el
32
34
33
35
COPY fonts/* ~/.local/share/fonts/
34
-
35
- RUN sudo apt-get update && sudo apt-get install -y ripgrep fasd
Original file line number Diff line number Diff line change 1
1
(setq native-comp-deferred-compilation nil )
2
+ (setq lsp-use-plists t )
2
3
3
4
(package-initialize )
4
5
Original file line number Diff line number Diff line change 2
2
(setq native-comp-deferred-compilation t )
3
3
4
4
(package-initialize )
5
- (add-to-list 'package-archives '(" melpa" . " http://melpa.org/packages/" ) t )
5
+
6
+ (setq package-archives '((" melpa" . " http://www.mirrorservice.org/sites/melpa.org/packages/" )
7
+ (" gnu" . " http://elpa.gnu.org/packages/" )
8
+ (" nongnu" . " http://elpa.nongnu.org/nongnu/" )))
9
+
6
10
(package-refresh-contents )
7
11
8
12
(package-install 'quelpa )
9
13
(setq package-native-compile t )
10
14
11
15
(setq native-comp-async-jobs-number 8 )
12
- ; ; with plist enabled
13
- (quelpa '(lsp-mode :repo " yyoncho/lsp-mode" :fetcher github :branch " perf2" :files (" *.el" " clients/*.el" )))
14
-
15
16
; ; with jsonc-mode
17
+
16
18
(quelpa '(json-mode :repo " kiennq/json-mode" :fetcher github))
17
19
18
20
(mapc #'package-install
21
23
company-quickhelp rust-mode php-mode scala-mode dart-mode
22
24
clojure-mode all-the-icons treemacs-icons-dired helm-icons
23
25
lsp-java lsp-dart lsp-metals lsp-ivy lsp-sourcekit
24
- magit page-break-lines helm-projectile))
26
+ magit page-break-lines helm-projectile typescript-mode
27
+ csharp-mode go-mode kotlin-mode))
25
28
26
29
(while (not (zerop (comp-async-runnings)))
27
30
(message " Waiting for native compilation to finish. %s " (comp-async-runnings))
Original file line number Diff line number Diff line change 2
2
3
3
(require 'lsp-mode )
4
4
5
+ (require 'dap-cpptools )
6
+ (dap-cpptools-setup)
7
+
8
+
9
+
5
10
(defun my/wait-for-installation (server-id )
6
11
(lsp-install-server nil server-id)
7
12
13
18
(accept-process-output nil 1 )))
14
19
15
20
(my/wait-for-installation 'jdtls )
16
- (my/wait-for-installation 'ts-ls )
17
21
(my/wait-for-installation 'eslint )
22
+ (my/wait-for-installation 'ts-ls )
18
23
(my/wait-for-installation 'json-ls )
19
24
(my/wait-for-installation 'xmlls )
20
- (my/wait-for-installation 'html-ls )
21
25
(my/wait-for-installation 'rust-analyzer )
26
+ (my/wait-for-installation 'html-ls )
22
27
(my/wait-for-installation 'css-ls )
23
28
(my/wait-for-installation 'clojure-lsp )
24
29
25
- (require 'dap-cpptools )
26
- (dap-cpptools-setup)
27
-
28
30
(require 'dap-node )
29
31
(dap-node-setup)
Original file line number Diff line number Diff line change 1
- FROM yyoncho/gitpod-base:1.0.12
2
-
3
- RUN sudo apt-get install libtool-bin
1
+ FROM yyoncho/gitpod-base:1.1.2
4
2
5
3
RUN mv .emacs.d vanilla
6
4
You can’t perform that action at this time.
0 commit comments