diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-05-12 16:42:50 +0300 |
commit | 752d6256e5204b958b0ef7905675a940b5e9172f (patch) | |
tree | 330d16e6362a49cbed8875a777fe641a43376cd3 /app-emacs/lsp-java/files | |
parent | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (diff) |
gentoo resync : 12.05.2022
Diffstat (limited to 'app-emacs/lsp-java/files')
-rw-r--r-- | app-emacs/lsp-java/files/50lsp-java-gentoo.el | 1 | ||||
-rw-r--r-- | app-emacs/lsp-java/files/lsp-java-icons.patch | 25 |
2 files changed, 26 insertions, 0 deletions
diff --git a/app-emacs/lsp-java/files/50lsp-java-gentoo.el b/app-emacs/lsp-java/files/50lsp-java-gentoo.el new file mode 100644 index 000000000000..431f7e90ae73 --- /dev/null +++ b/app-emacs/lsp-java/files/50lsp-java-gentoo.el @@ -0,0 +1 @@ +(add-to-list 'load-path "@SITELISP@") diff --git a/app-emacs/lsp-java/files/lsp-java-icons.patch b/app-emacs/lsp-java/files/lsp-java-icons.patch new file mode 100644 index 000000000000..5c89490d8688 --- /dev/null +++ b/app-emacs/lsp-java/files/lsp-java-icons.patch @@ -0,0 +1,25 @@ +index b7f8083..571a19e 100644 +--- a/lsp-java.el ++++ b/lsp-java.el +@@ -78,7 +78,7 @@ Use http://download.eclipse.org/che/che-ls-jdt/snapshots/che-jdt-language-server + :risky t + :type 'directory) + +-(defcustom lsp-java-themes-directory (f-join (f-dirname (or load-file-name buffer-file-name)) "icons") ++(defcustom lsp-java-themes-directory "@SITEETC@/icons" + "Directory containing themes." + :type 'directory + :group 'lsp-java) +diff --git a/lsp-jt.el b/lsp-jt.el +index 4aecfd9..ea05a51 100644 +--- a/lsp-jt.el ++++ b/lsp-jt.el +@@ -185,7 +185,7 @@ + (-uniq (gethash 'jdtls (lsp-session-server-id->folders (lsp-session))))) + + (treemacs-modify-theme "Default" +- :icon-directory (f-join (f-dirname (or load-file-name buffer-file-name)) "icons/vscode") ++ :icon-directory "@SITEETC@/icons/vscode/" + :config + (progn + (treemacs-create-icon :file "class.png" :extensions (java-test-class) :fallback "-") |