ui/treemacs: add +lsp flag
This commit is contained in:
parent
51864a731e
commit
53bd779cc9
7 changed files with 69 additions and 2 deletions
43
modules/ui/treemacs/README.org
Normal file
43
modules/ui/treemacs/README.org
Normal file
|
@ -0,0 +1,43 @@
|
|||
#+TITLE: ui/treemacs
|
||||
#+DATE: April 5, 2021
|
||||
#+SINCE: v2.0.4
|
||||
#+STARTUP: inlineimages nofold
|
||||
|
||||
* Table of Contents :TOC_3:noexport:
|
||||
- [[#description][Description]]
|
||||
- [[#maintainers][Maintainers]]
|
||||
- [[#module-flags][Module Flags]]
|
||||
- [[#plugins][Plugins]]
|
||||
- [[#prerequisites][Prerequisites]]
|
||||
- [[#features][Features]]
|
||||
- [[#configuration][Configuration]]
|
||||
- [[#troubleshooting][Troubleshooting]]
|
||||
|
||||
* Description
|
||||
[[https://github.com/Alexander-Miller/treemacs][Treemacs]] is a file and project explorer similar to NeoTree or vim’s NerdTree, but largely inspired by the Project Explorer in Eclipse. It shows the file system outlines of your projects in a simple tree layout allowing quick navigation and exploration, while also possessing basic file management utilities.
|
||||
|
||||
** Maintainers
|
||||
+ This module has no dedicated maintainers.
|
||||
|
||||
** Module Flags
|
||||
+ =+lsp= Enable ~lsp-treemacs~ integration and add shortcuts for common commands.
|
||||
|
||||
** Plugins
|
||||
+ [[https://github.com/Alexander-Miller/treemacs][treemacs]]
|
||||
+ [[https://github.com/Alexander-Miller/treemacs/blob/master/src/extra/treemacs-evil.el][treemacs-evil]]
|
||||
+ [[https://github.com/Alexander-Miller/treemacs/blob/master/src/extra/treemacs-projectile.el][treemacs-projectile]]
|
||||
+ [[https://github.com/Alexander-Miller/treemacs/blob/master/src/extra/treemacs-magit.el][treemacs-magit]]
|
||||
+ [[https://github.com/Alexander-Miller/treemacs/blob/master/src/extra/treemacs-persp.el][treemacs-persp]]
|
||||
+ [[https://github.com/emacs-lsp/lsp-treemacs][lsp-treemacs]]
|
||||
|
||||
* Prerequisites
|
||||
This module has no prerequisites.
|
||||
|
||||
* Features
|
||||
# TODO
|
||||
|
||||
* Configuration
|
||||
# TODO
|
||||
|
||||
* Troubleshooting
|
||||
# TODO
|
|
@ -76,3 +76,7 @@ This must be set before `treemacs' has loaded.")
|
|||
:when (featurep! :ui workspaces)
|
||||
:after treemacs
|
||||
:config (treemacs-set-scope-type 'Perspectives))
|
||||
|
||||
(use-package! lsp-treemacs
|
||||
:when (featurep! +lsp)
|
||||
:after (treemacs lsp))
|
||||
|
|
5
modules/ui/treemacs/doctor.el
Normal file
5
modules/ui/treemacs/doctor.el
Normal file
|
@ -0,0 +1,5 @@
|
|||
;;; ui/treemacs/doctor.el -*- lexical-binding: t; -*-
|
||||
|
||||
(assert! (and (not (featurep! :tools lsp +eglot))
|
||||
(featurep! +lsp))
|
||||
"+lsp flag is not supported with eglot, only with lsp-mode.")
|
|
@ -10,3 +10,5 @@
|
|||
(package! treemacs-magit))
|
||||
(when (featurep! :ui workspaces)
|
||||
(package! treemacs-persp))
|
||||
(when (featurep! +lsp)
|
||||
(package! lsp-treemacs :pin "4cfb46d7fe69cc537a8a86389c5d8d9fd3fbfabe"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue